about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec
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/array-slice-vec
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/array-slice-vec')
-rw-r--r--tests/ui/array-slice-vec/show-boxed-slice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/array-slice-vec/show-boxed-slice.rs b/tests/ui/array-slice-vec/show-boxed-slice.rs
index c10f779b1f6..3ae3686e423 100644
--- a/tests/ui/array-slice-vec/show-boxed-slice.rs
+++ b/tests/ui/array-slice-vec/show-boxed-slice.rs
@@ -1,7 +1,7 @@
 // run-pass
 
 #[derive(Debug)]
-struct Foo(#[allow(unused_tuple_struct_fields)] Box<[u8]>);
+struct Foo(#[allow(dead_code)] Box<[u8]>);
 
 pub fn main() {
     println!("{:?}", Foo(Box::new([0, 1, 2])));