summary refs log tree commit diff
path: root/src/test/ui/useless_comment.stderr
blob: cc818f6ce7c3995ccd123b4b5306f852ff21b150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
error: doc comment not used by rustdoc
  --> $DIR/useless_comment.rs:4:5
   |
LL |     /// a //~ ERROR doc comment not used by rustdoc
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: lint level defined here
  --> $DIR/useless_comment.rs:1:9
   |
LL | #![deny(unused_doc_comments)]
   |         ^^^^^^^^^^^^^^^^^^^

error: doc comment not used by rustdoc
  --> $DIR/useless_comment.rs:7:5
   |
LL |     /// b //~ doc comment not used by rustdoc
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: doc comment not used by rustdoc
  --> $DIR/useless_comment.rs:9:9
   |
LL |         /// c //~ ERROR doc comment not used by rustdoc
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: doc comment not used by rustdoc
  --> $DIR/useless_comment.rs:14:5
   |
LL |     /// foo //~ ERROR doc comment not used by rustdoc
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 4 previous errors