about summary refs log tree commit diff
path: root/tests/ui/packed/packed-struct-drop-aligned.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/packed/packed-struct-drop-aligned.rs')
-rw-r--r--tests/ui/packed/packed-struct-drop-aligned.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/packed/packed-struct-drop-aligned.rs b/tests/ui/packed/packed-struct-drop-aligned.rs
index 4fec72763a4..6c2907c86e9 100644
--- a/tests/ui/packed/packed-struct-drop-aligned.rs
+++ b/tests/ui/packed/packed-struct-drop-aligned.rs
@@ -24,7 +24,7 @@ impl<'a> Drop for Aligned<'a> {
 }
 
 #[repr(transparent)]
-struct NotCopy(#[allow(unused_tuple_struct_fields)] u8);
+struct NotCopy(#[allow(dead_code)] u8);
 
 #[repr(packed)]
 struct Packed<'a>(NotCopy, Aligned<'a>);