diff options
Diffstat (limited to 'tests/ui/drop/repeat-drop.rs')
-rw-r--r-- | tests/ui/drop/repeat-drop.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/drop/repeat-drop.rs b/tests/ui/drop/repeat-drop.rs index 8fd46ecaf44..659d35db657 100644 --- a/tests/ui/drop/repeat-drop.rs +++ b/tests/ui/drop/repeat-drop.rs @@ -1,6 +1,8 @@ // run-pass // needs-unwind +#![allow(drop_ref, drop_copy)] + static mut CHECK: usize = 0; struct DropChecker(usize); |