Skip to content

Commit 646fc84

Browse files
committed
query-visibility
1 parent 5a8f69b commit 646fc84

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
//! Tests correct parsing of doc comments on generic parameters in traits.
2+
//! Checks that compiler doesn't panic when processing this.
3+
14
//@ check-pass
2-
// Check that it doesn't panic when `Input` gets its visibility checked.
35

46
#![crate_type = "lib"]
57

68
pub trait Layer<
7-
/// Hello.
9+
/// Documentation for generic parameter.
810
Input,
9-
> {}
11+
>
12+
{
13+
}

0 commit comments

Comments
 (0)