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

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

12 lines
392 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
--> $DIR/doc-before-rbrace.rs:2:21
2018-10-20 20:36:17 +00:00
|
LL | println!("Hi"); /// hi
| ^^^^^^
|
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 1 previous error
2018-10-20 20:36:17 +00:00
For more information about this error, try `rustc --explain E0585`.