fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
551 B19 linesraw
1error[E0585]: found a documentation comment that doesn't document anything
2  --> $DIR/doc-before-semi.rs:2:5
3   |
4LL |     /// hi
5   |     ^^^^^^
6   |
7   = help: doc comments must come before what they document, maybe a comment was intended with `//`?
8
9warning: unnecessary trailing semicolon
10  --> $DIR/doc-before-semi.rs:5:5
11   |
12LL |     ;
13   |     ^ help: remove this semicolon
14   |
15   = note: `#[warn(redundant_semicolon)]` on by default
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0585`.