fork/rust

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

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

master
474 B17 linesraw
1error[E0753]: expected outer doc comment
2  --> $DIR/issue-86781-bad-inner-doc.rs:7:1
3   |
4LL | //! Inner doc comment
5   | ^^^^^^^^^^^^^^^^^^^^^
6...
7LL | pub struct Foo;
8   | --------------- the inner doc comment doesn't annotate this struct
9   |
10help: to annotate the struct, change the doc comment from inner to outer style
11   |
12LL | /// Inner doc comment
13   |   ~
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0753`.