rust/tests/ui/parser/doc-after-struct-field.stderr

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

20 lines
685 B
Plaintext
Raw Normal View History

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