]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/doc-after-struct-field.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.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:14: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:20: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`.