Skip to content

Commit 6854440

Browse files
Extend test to ensure that items inherit lint level from the parent
1 parent 5d20e1a commit 6854440

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/rustdoc-ui/coverage/allow_missing_docs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,6 @@ pub mod bar {
3636
pub struct Bar { //~ WARN
3737
pub f: u32, //~ WARN
3838
}
39+
40+
pub struct NeedsNoDocs;
3941
}

0 commit comments

Comments
 (0)