rust/src/test/ui/parser/doc-after-struct-field.stderr
Esteban Küber d6ea6b972d fix tidy
2019-05-31 13:50:04 -07:00

20 lines
695 B
Plaintext

error[E0585]: found a documentation comment that doesn't document anything
--> $DIR/doc-after-struct-field.rs:2:11
|
LL | a: u8 /** document a */,
| ^^^^^^^^^^^^^^^^^
|
= help: doc comments must come before what they document, maybe a comment was intended with `//`?
error[E0585]: found a documentation comment that doesn't document anything
--> $DIR/doc-after-struct-field.rs:8:11
|
LL | a: u8 /// document a
| ^^^^^^^^^^^^^^
|
= help: doc comments must come before what they document, maybe a comment was intended with `//`?
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0585`.