diff options
| author | Jake Goulding <jake.goulding@gmail.com> | 2023-12-27 17:11:58 -0500 |
|---|---|---|
| committer | Jake Goulding <jake.goulding@gmail.com> | 2024-01-02 15:34:37 -0500 |
| commit | 53eca9fa877460973f29aca24e6636a4175df469 (patch) | |
| tree | b574f39908fef034b675c7e6da5be4a72ec6ab5f /tests/ui/array-slice-vec | |
| parent | 5772818dc8f4c5a0fec1f5b35b33e85764dcd4f4 (diff) | |
| download | rust-53eca9fa877460973f29aca24e6636a4175df469.tar.gz rust-53eca9fa877460973f29aca24e6636a4175df469.zip | |
Adjust compiler tests for unused_tuple_struct_fields -> dead_code
Diffstat (limited to 'tests/ui/array-slice-vec')
| -rw-r--r-- | tests/ui/array-slice-vec/show-boxed-slice.rs | 2 |
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]))); |
