Skip to content

Commit

Permalink
Ignore items_after_test_module clippy false positive
Browse files Browse the repository at this point in the history
rust-lang/rust-clippy#10713

    warning: items were found after the testing module
       --> src/lib.rs:148:1
        |
    148 | / mod tests;
    149 | | mod write;
    150 | |
    151 | | use std::env;
    ...   |
    600 | |     }
    601 | | }
        | |_^
        |
        = help: move the items to before the testing module was defined
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_test_module
        = note: `#[warn(clippy::items_after_test_module)]` on by default
  • Loading branch information
dtolnay committed Apr 25, 2023
1 parent 8212e01 commit 32dbccc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
clippy::derive_partial_eq_without_eq,
clippy::doc_markdown,
clippy::items_after_statements,
clippy::items_after_test_module, // https://github.com/rust-lang/rust-clippy/issues/10713
clippy::must_use_candidate,
clippy::too_many_lines,
clippy::type_complexity,
Expand Down

0 comments on commit 32dbccc

Please sign in to comment.