diff options
Diffstat (limited to 'tests/ui/drop/drop-struct-as-object.rs')
| -rw-r--r-- | tests/ui/drop/drop-struct-as-object.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/drop/drop-struct-as-object.rs b/tests/ui/drop/drop-struct-as-object.rs index 07c8950f1b2..46633bd7075 100644 --- a/tests/ui/drop/drop-struct-as-object.rs +++ b/tests/ui/drop/drop-struct-as-object.rs @@ -5,6 +5,9 @@ // Test that destructor on a struct runs successfully after the struct // is boxed and converted to an object. +// FIXME(static_mut_refs): this could use an atomic +#![allow(static_mut_refs)] + static mut value: usize = 0; struct Cat { |
