]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-after-struct-field.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / doc-after-struct-field.stderr
1 error[E0585]: found a documentation comment that doesn't document anything
2   --> $DIR/doc-after-struct-field.rs:2:11
3    |
4 LL |     a: u8 /** document a */,
5    |           ^^^^^^^^^^^^^^^^^
6    |
7    = help: doc comments must come before what they document, maybe a comment was intended with `//`?
8
9 error[E0585]: found a documentation comment that doesn't document anything
10   --> $DIR/doc-after-struct-field.rs:8:11
11    |
12 LL |     a: u8 /// document a
13    |           ^^^^^^^^^^^^^^
14    |
15    = help: doc comments must come before what they document, maybe a comment was intended with `//`?
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0585`.