diff options
Diffstat (limited to 'tests/ui/dyn-star/drop.rs')
| -rw-r--r-- | tests/ui/dyn-star/drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/dyn-star/drop.rs b/tests/ui/dyn-star/drop.rs index 1478498c0a9..1acfe2f2d1c 100644 --- a/tests/ui/dyn-star/drop.rs +++ b/tests/ui/dyn-star/drop.rs @@ -6,7 +6,7 @@ use std::fmt::Debug; #[derive(Debug)] -struct Foo(usize); +struct Foo(#[allow(dead_code)] usize); impl Drop for Foo { fn drop(&mut self) { |
