diff options
| author | Alexey Semenyuk <alexsemenyuk88@gmail.com> | 2024-10-27 14:53:20 +0500 |
|---|---|---|
| committer | Alexey Semenyuk <alexsemenyuk88@gmail.com> | 2024-10-27 14:53:20 +0500 |
| commit | 900db489004a36567d7952b0cb9e56b3309d3596 (patch) | |
| tree | 46f66ae53592461c881748714caf8f3e28abc3ef | |
| parent | 3caff9962bdfbab049a971b9e6200f8dce34e577 (diff) | |
| download | rust-900db489004a36567d7952b0cb9e56b3309d3596.tar.gz rust-900db489004a36567d7952b0cb9e56b3309d3596.zip | |
Add test case for missing_errors_doc at tests with option check-private-items = true
| -rw-r--r-- | tests/ui-toml/private-doc-errors/doc_lints.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui-toml/private-doc-errors/doc_lints.rs b/tests/ui-toml/private-doc-errors/doc_lints.rs index 79c8751468d..c5d00c91b05 100644 --- a/tests/ui-toml/private-doc-errors/doc_lints.rs +++ b/tests/ui-toml/private-doc-errors/doc_lints.rs @@ -51,4 +51,10 @@ pub mod __macro { } } +#[warn(clippy::missing_errors_doc)] +#[test] +fn test() -> Result<(), ()> { + Ok(()) +} + fn main() {} |
