fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
695 B19 linesraw
1error[E0585]: found a documentation comment that doesn't document anything
2  --> $DIR/doc-after-struct-field.rs:2:11
3   |
4LL |     a: u8 /** document a */,
5   |           ^^^^^^^^^^^^^^^^^
6   |
7   = help: doc comments must come before what they document, maybe a comment was intended with `//`?
8
9error[E0585]: found a documentation comment that doesn't document anything
10  --> $DIR/doc-after-struct-field.rs:8:11
11   |
12LL |     a: u8 /// document a
13   |           ^^^^^^^^^^^^^^
14   |
15   = help: doc comments must come before what they document, maybe a comment was intended with `//`?
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0585`.