diff options
Diffstat (limited to 'tests/ui/pub/pub-ident-struct-4.rs')
| -rw-r--r-- | tests/ui/pub/pub-ident-struct-4.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/pub/pub-ident-struct-4.rs b/tests/ui/pub/pub-ident-struct-4.rs index 0d56a31beaf..5c721c25a78 100644 --- a/tests/ui/pub/pub-ident-struct-4.rs +++ b/tests/ui/pub/pub-ident-struct-4.rs @@ -1,7 +1,6 @@ //@ run-rustfix -#[allow(dead_code)] -pub T(String); +pub T(#[allow(dead_code)] String); //~^ ERROR missing `struct` for struct definition fn main() {} |
