]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-before-rbrace.stderr
Account for ADT bodies and struct expressions
[rust.git] / src / test / ui / parser / doc-before-rbrace.stderr
1 error[E0585]: found a documentation comment that doesn't document anything
2   --> $DIR/doc-before-rbrace.rs:2:21
3    |
4 LL |     println!("Hi"); /// hi
5    |                     ^^^^^^
6    |
7    = help: doc comments must come before what they document, if a comment was intended use `//`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0585`.