mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Remove double unused_imports check
This commit is contained in:
parent
97a3ac5b86
commit
f1974593c9
3 changed files with 2 additions and 3 deletions
|
@ -565,7 +565,6 @@ impl<'tcx> LateLintPass<'tcx> for Attributes {
|
|||
|| is_word(lint, sym!(unreachable_pub))
|
||||
|| is_word(lint, sym!(unused))
|
||||
|| is_word(lint, sym!(unused_import_braces))
|
||||
|| is_word(lint, sym!(unused_imports))
|
||||
|| extract_clippy_lint(lint).map_or(false, |s| {
|
||||
matches!(
|
||||
s.as_str(),
|
||||
|
|
|
@ -85,7 +85,7 @@ mod module {
|
|||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
#[allow(unused_import_braces, unused_imports)]
|
||||
#[allow(unused_import_braces)]
|
||||
use module::{Struct};
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -85,7 +85,7 @@ mod module {
|
|||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
#[allow(unused_import_braces, unused_imports)]
|
||||
#[allow(unused_import_braces)]
|
||||
use module::{Struct};
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Reference in a new issue