about summary refs log tree commit diff
path: root/tests/ui/packed/packed-struct-drop-aligned.rs
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2023-12-27 17:11:58 -0500
committerJake Goulding <jake.goulding@gmail.com>2024-01-02 15:34:37 -0500
commit53eca9fa877460973f29aca24e6636a4175df469 (patch)
treeb574f39908fef034b675c7e6da5be4a72ec6ab5f /tests/ui/packed/packed-struct-drop-aligned.rs
parent5772818dc8f4c5a0fec1f5b35b33e85764dcd4f4 (diff)
downloadrust-53eca9fa877460973f29aca24e6636a4175df469.tar.gz
rust-53eca9fa877460973f29aca24e6636a4175df469.zip
Adjust compiler tests for unused_tuple_struct_fields -> dead_code
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>);