about summary refs log tree commit diff
path: root/tests/ui/allocator/no_std-alloc-error-handler-default.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-06 14:16:04 +0000
committerbors <bors@rust-lang.org>2024-01-06 14:16:04 +0000
commit0814a5699fca614661ee3d681ffccad41b3c5565 (patch)
tree95fdd1e5026ca6fb3299665c8c0ba76cbab39eb8 /tests/ui/allocator/no_std-alloc-error-handler-default.rs
parentd334a4bccfa9529c35be45e3e1a34bf875c01030 (diff)
parent46f53c8b5d576f3a9d8ff9c8857dad16f9e0dca7 (diff)
downloadrust-0814a5699fca614661ee3d681ffccad41b3c5565.tar.gz
rust-0814a5699fca614661ee3d681ffccad41b3c5565.zip
Auto merge of #3254 - rust-lang:rustup-2024-01-06, r=saethlin
Automatic Rustup
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 {