Add test case for missing_errors_doc at tests with option check-private-items = true

This commit is contained in:
Alexey Semenyuk 2024-10-27 14:53:20 +05:00
parent 3caff9962b
commit 900db48900

View File

@ -51,4 +51,10 @@ pub mod __macro {
} }
} }
#[warn(clippy::missing_errors_doc)]
#[test]
fn test() -> Result<(), ()> {
Ok(())
}
fn main() {} fn main() {}