summaryrefslogtreecommitdiff
path: root/tests/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs
diff options
context:
space:
mode:
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.rs2
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 04d924a9aed..4c1562790d5 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(drop_copy)]
+
#[derive(Copy, Clone, Debug)]
struct Unit;