about summary refs log tree commit diff
path: root/tests/ui/lint/dead-code/with-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/dead-code/with-impl.rs')
-rw-r--r--tests/ui/lint/dead-code/with-impl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/lint/dead-code/with-impl.rs b/tests/ui/lint/dead-code/with-impl.rs
index 812fcdd09b6..147ec7b9e2e 100644
--- a/tests/ui/lint/dead-code/with-impl.rs
+++ b/tests/ui/lint/dead-code/with-impl.rs
@@ -2,7 +2,7 @@
 
 #![deny(dead_code)]
 
-pub struct GenericFoo<T>(#[allow(unused_tuple_struct_fields)] T);
+pub struct GenericFoo<T>(#[allow(dead_code)] T);
 
 type Foo = GenericFoo<u32>;