Skip to content

Commit 2f2623b

Browse files
Update tests
1 parent 1cebf98 commit 2f2623b

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

src/test/compile-fail/issue-34222.rs

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/test/compile-fail/useless_comment.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
#![deny(unused_doc_comment)]
1212

1313
fn foo() {
14-
/// a //~ ERROR unused doc comment
14+
/// a //~ ERROR doc comment not used by rustdoc
1515
let x = 12;
1616

17-
/// b //~ ERROR unused doc comment
17+
/// b //~ doc comment not used by rustdoc
1818
match x {
19-
/// c //~ ERROR unused doc comment
19+
/// c //~ ERROR doc comment not used by rustdoc
2020
1 => {},
2121
_ => {}
2222
}
2323

24-
/// foo //~ ERROR unused doc comment
24+
/// foo //~ ERROR doc comment not used by rustdoc
2525
unsafe {}
2626
}
2727

0 commit comments

Comments
 (0)