about summary refs log tree commit diff
path: root/tests/ui/traits/negative-impls/negated-auto-traits-rpass.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/negative-impls/negated-auto-traits-rpass.rs')
-rw-r--r--tests/ui/traits/negative-impls/negated-auto-traits-rpass.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/negative-impls/negated-auto-traits-rpass.rs b/tests/ui/traits/negative-impls/negated-auto-traits-rpass.rs
index 0bc611c26ca..05345d3432b 100644
--- a/tests/ui/traits/negative-impls/negated-auto-traits-rpass.rs
+++ b/tests/ui/traits/negative-impls/negated-auto-traits-rpass.rs
@@ -5,7 +5,7 @@
 pub struct WaitToken;
 impl !Send for WaitToken {}
 
-pub struct Test<T>(#[allow(unused_tuple_struct_fields)] T);
+pub struct Test<T>(#[allow(dead_code)] T);
 unsafe impl<T: 'static> Send for Test<T> {}
 
 pub fn spawn<F>(_: F) -> () where F: FnOnce(), F: Send + 'static {}