Skip to content

Commit 900db48

Browse files
committed
Add test case for missing_errors_doc at tests with option check-private-items = true
1 parent 3caff99 commit 900db48

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/ui-toml/private-doc-errors/doc_lints.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,10 @@ pub mod __macro {
5151
}
5252
}
5353

54+
#[warn(clippy::missing_errors_doc)]
55+
#[test]
56+
fn test() -> Result<(), ()> {
57+
Ok(())
58+
}
59+
5460
fn main() {}

0 commit comments

Comments
 (0)