]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-before-semi.stderr
Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726
[rust.git] / src / test / ui / parser / doc-before-semi.stderr
1 error[E0585]: found a documentation comment that doesn't document anything
2   --> $DIR/doc-before-semi.rs:2:5
3    |
4 LL |     /// 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`.