We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cebf98 commit 2f2623bCopy full SHA for 2f2623b
src/test/compile-fail/issue-34222.rs
src/test/compile-fail/useless_comment.rs
@@ -11,17 +11,17 @@
11
#![deny(unused_doc_comment)]
12
13
fn foo() {
14
- /// a //~ ERROR unused doc comment
+ /// a //~ ERROR doc comment not used by rustdoc
15
let x = 12;
16
17
- /// b //~ ERROR unused doc comment
+ /// b //~ doc comment not used by rustdoc
18
match x {
19
- /// c //~ ERROR unused doc comment
+ /// c //~ ERROR doc comment not used by rustdoc
20
1 => {},
21
_ => {}
22
}
23
24
- /// foo //~ ERROR unused doc comment
+ /// foo //~ ERROR doc comment not used by rustdoc
25
unsafe {}
26
27
0 commit comments