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/trailing-comma.rs | |
| 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/trailing-comma.rs')
| -rw-r--r-- | tests/ui/trailing-comma.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/trailing-comma.rs b/tests/ui/trailing-comma.rs index 90adba99e54..31091398508 100644 --- a/tests/ui/trailing-comma.rs +++ b/tests/ui/trailing-comma.rs @@ -3,7 +3,7 @@ fn f<T,>(_: T,) {} -struct Foo<T,>(#[allow(unused_tuple_struct_fields)] T); +struct Foo<T,>(#[allow(dead_code)] T); struct Bar; @@ -14,7 +14,7 @@ impl Bar { } enum Baz { - Qux(#[allow(unused_tuple_struct_fields)] isize,), + Qux(#[allow(dead_code)] isize,), } #[allow(unused,)] |
