fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
450 B14 linesraw
1error[E0585]: found a documentation comment that doesn't document anything
2  --> $DIR/doc-before-struct-rbrace-1.rs:3:5
3   |
4LL | struct X {
5   |        - while parsing this struct
6LL |     a: u8,
7LL |     /// document
8   |     ^^^^^^^^^^^^
9   |
10   = help: doc comments must come before what they document, if a comment was intended use `//`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0585`.