mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 07:50:04 +00:00
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:
parent
754236dbe6
commit
1e8227295e
@ -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,
|
||||
|
@ -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};
|
||||
|
@ -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;
|
||||
|
@ -1,5 +1,3 @@
|
||||
#![allow(clippy::let_underscore_drop)]
|
||||
|
||||
mod regression {
|
||||
automod::dir!("tests/regression");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user