Skip to content

Commit

Permalink
Add test case for missing_errors_doc at tests with option check-priva…
Browse files Browse the repository at this point in the history
…te-items = true
  • Loading branch information
alex-semenyuk committed Oct 27, 2024
1 parent 3caff99 commit 900db48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/ui-toml/private-doc-errors/doc_lints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,10 @@ pub mod __macro {
}
}

#[warn(clippy::missing_errors_doc)]
#[test]
fn test() -> Result<(), ()> {
Ok(())
}

fn main() {}

0 comments on commit 900db48

Please sign in to comment.