rust/tests/ui/parser/doc-before-fn-rbrace.stderr

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

12 lines
372 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-fn-rbrace.rs:2:5
2018-10-20 20:36:17 +00:00
|
LL | /// 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`.