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 8fd46ecaf..0afb4bb11 100644 --- a/tests/ui/drop/repeat-drop.rs +++ b/tests/ui/drop/repeat-drop.rs @@ -1,6 +1,8 @@ // run-pass // needs-unwind +#![allow(dropping_references, dropping_copy_types)] + static mut CHECK: usize = 0; struct DropChecker(usize); |