about summary refs log tree commit diff
path: root/tests/codegen-units/item-collection/unsizing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen-units/item-collection/unsizing.rs')
-rw-r--r--tests/codegen-units/item-collection/unsizing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen-units/item-collection/unsizing.rs b/tests/codegen-units/item-collection/unsizing.rs
index 111a7231209..34f52ce4e61 100644
--- a/tests/codegen-units/item-collection/unsizing.rs
+++ b/tests/codegen-units/item-collection/unsizing.rs
@@ -40,7 +40,7 @@ impl Trait for u32 {
 }
 
 #[derive(Clone, Copy)]
-struct Wrapper<T: ?Sized>(#[allow(unused_tuple_struct_fields)] *const T);
+struct Wrapper<T: ?Sized>(#[allow(dead_code)] *const T);
 
 impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Wrapper<U>> for Wrapper<T> {}