rust/src/test/ui/parser/doc-inside-trait-item.stderr
2022-09-29 00:34:31 +08:00

11 lines
418 B
Text

error[E0584]: found a documentation comment that doesn't document anything
--> $DIR/doc-inside-trait-item.rs:3:5
|
LL | /// empty doc
| ^^^^^^^^^^^^^ this doc comment doesn't document anything
|
= help: doc comments must come before what they document, if a comment was intended use `//`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0584`.