rust/tests/ui/parser/doc-before-struct-rbrace-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
391 B
Plaintext
Raw Normal View History

2018-10-20 20:36:17 +00:00
error[E0585]: found a documentation comment that doesn't document anything
2019-05-31 20:50:04 +00:00
--> $DIR/doc-before-struct-rbrace-2.rs:2:11
2018-10-20 20:36:17 +00:00
|
LL | a: u8 /// document
| ^^^^^^^^^^^^
|
2022-09-27 08:08:04 +00:00
= help: doc comments must come before what they document, if a comment was intended use `//`
2018-10-20 20:36:17 +00:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0585`.