diff options
Diffstat (limited to 'tests/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs')
-rw-r--r-- | tests/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs b/tests/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs index 04d924a9a..542be3942 100644 --- a/tests/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs +++ b/tests/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs @@ -4,6 +4,8 @@ // Tests ensuring that `dbg!(expr)` has the expected run-time behavior. // as well as some compile time properties we expect. +#![allow(dropping_copy_types)] + #[derive(Copy, Clone, Debug)] struct Unit; |