Fix renamed let_underscore_drop lint

warning: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
       --> src/lib.rs:270:5
        |
    270 |     clippy::let_underscore_drop,
        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
        |
        = note: `#[warn(renamed_and_removed_lints)]` on by default

    warning: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
      --> tests/crates/main.rs:13:10
       |
    13 | #![allow(clippy::let_underscore_drop)]
       |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
       |
       = note: `#[warn(renamed_and_removed_lints)]` on by default

    warning: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
     --> tests/features/macro/lib.rs:1:10
      |
    1 | #![allow(clippy::let_underscore_drop, clippy::toplevel_ref_arg)]
      |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
      |
      = note: `#[warn(renamed_and_removed_lints)]` on by default

    warning: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
     --> tests/regression.rs:1:10
      |
    1 | #![allow(clippy::let_underscore_drop)]
      |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
      |
      = note: `#[warn(renamed_and_removed_lints)]` on by default
This commit is contained in:
David Tolnay 2022-11-22 22:37:22 -08:00
parent 754236dbe6
commit 1e8227295e
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
4 changed files with 1 additions and 6 deletions

View File

@ -267,7 +267,6 @@
clippy::inherent_to_string,
clippy::items_after_statements,
clippy::large_enum_variant,
clippy::let_underscore_drop,
clippy::manual_assert,
clippy::match_on_vec_items,
clippy::match_same_arms,

View File

@ -10,8 +10,6 @@
// | jq '"https://static.crates.io/crates/" + .name + "/" + .name + "-" + .vers + ".crate"' -r \
// | xargs -P10 -n100 wget -nc
#![allow(clippy::let_underscore_drop)]
use anyhow::{ensure, Result};
use flate2::read::GzDecoder;
use rayon::iter::{IntoParallelRefIterator, ParallelIterator};

View File

@ -1,4 +1,4 @@
#![allow(clippy::let_underscore_drop, clippy::toplevel_ref_arg)]
#![allow(clippy::toplevel_ref_arg)]
use proc_macro::TokenStream;
use std::io::Write;

View File

@ -1,5 +1,3 @@
#![allow(clippy::let_underscore_drop)]
mod regression {
automod::dir!("tests/regression");
}