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/unsized-locals | |
| 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/unsized-locals')
| -rw-r--r-- | tests/ui/unsized-locals/unsized-exprs-rpass.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/unsized-locals/unsized-exprs-rpass.rs b/tests/ui/unsized-locals/unsized-exprs-rpass.rs index 175b02fcb81..83d3680f72f 100644 --- a/tests/ui/unsized-locals/unsized-exprs-rpass.rs +++ b/tests/ui/unsized-locals/unsized-exprs-rpass.rs @@ -2,7 +2,7 @@ #![allow(incomplete_features, unused_braces, unused_parens)] #![feature(unsized_tuple_coercion, unsized_locals, unsized_fn_params)] -struct A<X: ?Sized>(#[allow(unused_tuple_struct_fields)] X); +struct A<X: ?Sized>(#[allow(dead_code)] X); fn udrop<T: ?Sized>(_x: T) {} fn foo() -> Box<[u8]> { |
