about summary refs log tree commit diff
path: root/tests/ui/allocator/no_std-alloc-error-handler-default.rs
diff options
context:
space:
mode:
authorThe Miri Conjob Bot <miri@cron.bot>2024-01-06 05:01:35 +0000
committerThe Miri Conjob Bot <miri@cron.bot>2024-01-06 05:01:35 +0000
commit078f2280855dbc31be5e59c555bedb2cce4db2c1 (patch)
treefea1741bf8cfc1519ab3cefca1fb673ffdf68816 /tests/ui/allocator/no_std-alloc-error-handler-default.rs
parent7e4e9ada0fdc294f4dde9cd4a200ae4aa83c8764 (diff)
parent5bcd86d89b2b7b6a490f7e075dd4eb346deb5f98 (diff)
downloadrust-078f2280855dbc31be5e59c555bedb2cce4db2c1.tar.gz
rust-078f2280855dbc31be5e59c555bedb2cce4db2c1.zip
Merge from rustc
Diffstat (limited to 'tests/ui/allocator/no_std-alloc-error-handler-default.rs')
-rw-r--r--tests/ui/allocator/no_std-alloc-error-handler-default.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/allocator/no_std-alloc-error-handler-default.rs b/tests/ui/allocator/no_std-alloc-error-handler-default.rs
index 56409e71339..488434a9a72 100644
--- a/tests/ui/allocator/no_std-alloc-error-handler-default.rs
+++ b/tests/ui/allocator/no_std-alloc-error-handler-default.rs
@@ -61,7 +61,7 @@ fn panic(panic_info: &core::panic::PanicInfo) -> ! {
 extern "C" fn rust_eh_personality() {}
 
 #[derive(Default, Debug)]
-struct Page(#[allow(unused_tuple_struct_fields)] [[u64; 32]; 16]);
+struct Page(#[allow(dead_code)] [[u64; 32]; 16]);
 
 #[no_mangle]
 fn main(_argc: i32, _argv: *const *const u8) -> isize {