mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-22 20:53:21 +00:00
Auto merge of #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
This commit is contained in:
commit
31f6679e78
1 changed files with 6 additions and 0 deletions
|
@ -51,4 +51,10 @@ pub mod __macro {
|
|||
}
|
||||
}
|
||||
|
||||
#[warn(clippy::missing_errors_doc)]
|
||||
#[test]
|
||||
fn test() -> Result<(), ()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
Loading…
Reference in a new issue