rust/src/test/ui/parser/doc-before-rbrace.stderr

12 lines
395 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error[E0585]: found a documentation comment that doesn't document anything
2018-12-25 09:56:47 -06:00
--> $DIR/doc-before-rbrace.rs:4:21
2018-10-20 15:36:17 -05:00
|
LL | println!("Hi"); /// hi
| ^^^^^^
|
= help: doc comments must come before what they document, maybe a comment was intended with `//`?
error: aborting due to previous error
For more information about this error, try `rustc --explain E0585`.