about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMarcusGrass <marcus.grass@protonmail.com>2024-02-22 23:12:38 +0100
committerMarcusGrass <marcus.grass@protonmail.com>2024-02-22 23:12:38 +0100
commitf1974593c93f80707123e9f12a4d8a097bb367a5 (patch)
tree54b40472d9ffee4de9f416b63e2bf638fed76f32 /tests
parent97a3ac5b86c21cc7e478da1c90187d006ea35eb0 (diff)
downloadrust-f1974593c93f80707123e9f12a4d8a097bb367a5.tar.gz
rust-f1974593c93f80707123e9f12a4d8a097bb367a5.zip
Remove double unused_imports check
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/useless_attribute.fixed2
-rw-r--r--tests/ui/useless_attribute.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/useless_attribute.fixed b/tests/ui/useless_attribute.fixed
index 7f4874b1f20..d1cdf73d559 100644
--- a/tests/ui/useless_attribute.fixed
+++ b/tests/ui/useless_attribute.fixed
@@ -85,7 +85,7 @@ mod module {
 }
 
 #[rustfmt::skip]
-#[allow(unused_import_braces, unused_imports)]
+#[allow(unused_import_braces)]
 use module::{Struct};
 
 fn main() {
diff --git a/tests/ui/useless_attribute.rs b/tests/ui/useless_attribute.rs
index d0f22db727a..d6aa7fa242c 100644
--- a/tests/ui/useless_attribute.rs
+++ b/tests/ui/useless_attribute.rs
@@ -85,7 +85,7 @@ mod module {
 }
 
 #[rustfmt::skip]
-#[allow(unused_import_braces, unused_imports)]
+#[allow(unused_import_braces)]
 use module::{Struct};
 
 fn main() {