Skip to content

Commit 31f6679

Browse files
committed
Auto merge of rust-lang#13610 - alex-semenyuk:add_test_case, r=xFrednet
Add test case for `missing_errors_doc` at tests with option `check-private-item=true` Add test case for `missing_errors_doc` at tests with option `check-private-item=true` to proof that rust-lang/rust-clippy#13391 is not an issue anymore changelog: none Closes: rust-lang/rust-clippy#13391
2 parents c02f3a2 + 900db48 commit 31f6679

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

+6
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)