We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a8f69b commit 646fc84Copy full SHA for 646fc84
tests/ui/parser/doc-comment-in-generic.rs
@@ -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
+
4
//@ check-pass
-// Check that it doesn't panic when `Input` gets its visibility checked.
5
6
#![crate_type = "lib"]
7
8
pub trait Layer<
- /// Hello.
9
+ /// Documentation for generic parameter.
10
Input,
-> {}
11
+>
12
+{
13
+}
0 commit comments