1 error: doc comment not used by rustdoc
2 --> $DIR/useless_comment.rs:4:5
4 LL | /// a //~ ERROR doc comment not used by rustdoc
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 note: lint level defined here
8 --> $DIR/useless_comment.rs:1:9
10 LL | #![deny(unused_doc_comments)]
13 error: doc comment not used by rustdoc
14 --> $DIR/useless_comment.rs:7:5
16 LL | /// b //~ doc comment not used by rustdoc
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 error: doc comment not used by rustdoc
20 --> $DIR/useless_comment.rs:9:9
22 LL | /// c //~ ERROR doc comment not used by rustdoc
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 error: doc comment not used by rustdoc
26 --> $DIR/useless_comment.rs:14:5
28 LL | /// foo //~ ERROR doc comment not used by rustdoc
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 error: aborting due to 4 previous errors