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
374 B
Plaintext
Raw Normal View History

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