Skip to content

Commit

Permalink
Auto merge of rust-lang#13610 - alex-semenyuk:add_test_case, r=xFrednet
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Oct 27, 2024
2 parents c02f3a2 + 900db48 commit 31f6679
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 31f6679

Please sign in to comment.