]> git.lizzy.rs Git - rust.git/blob - src/test/ui/useless_comment.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / useless_comment.stderr
1 error: doc comment not used by rustdoc
2   --> $DIR/useless_comment.rs:4:5
3    |
4 LL |     /// a //~ ERROR doc comment not used by rustdoc
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: lint level defined here
8   --> $DIR/useless_comment.rs:1:9
9    |
10 LL | #![deny(unused_doc_comments)]
11    |         ^^^^^^^^^^^^^^^^^^^
12
13 error: doc comment not used by rustdoc
14   --> $DIR/useless_comment.rs:7:5
15    |
16 LL |     /// b //~ doc comment not used by rustdoc
17    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error: doc comment not used by rustdoc
20   --> $DIR/useless_comment.rs:9:9
21    |
22 LL |         /// c //~ ERROR doc comment not used by rustdoc
23    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error: doc comment not used by rustdoc
26   --> $DIR/useless_comment.rs:14:5
27    |
28 LL |     /// foo //~ ERROR doc comment not used by rustdoc
29    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31 error: aborting due to 4 previous errors
32