diff options
Diffstat (limited to 'src/test/ui/parser/doc-after-struct-field.rs')
-rw-r--r-- | src/test/ui/parser/doc-after-struct-field.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/parser/doc-after-struct-field.rs b/src/test/ui/parser/doc-after-struct-field.rs deleted file mode 100644 index 03faa6733..000000000 --- a/src/test/ui/parser/doc-after-struct-field.rs +++ /dev/null @@ -1,16 +0,0 @@ -struct X { - a: u8 /** document a */, - //~^ ERROR found a documentation comment that doesn't document anything - //~| HELP if a comment was intended use `//` -} - -struct Y { - a: u8 /// document a - //~^ ERROR found a documentation comment that doesn't document anything - //~| HELP if a comment was intended use `//` -} - -fn main() { - let x = X { a: 1 }; - let y = Y { a: 1 }; -} |