]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/doc-after-struct-field.stderr
Rollup merge of #106798 - scottmcm:signum-via-cmp, r=Mark-Simulacrum
[rust.git] / tests / 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, if a comment was intended use `//`
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, if a comment was intended use `//`
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0585`.