diff options
Diffstat (limited to 'src/test/ui/not-panic/not-panic-safe.rs')
-rw-r--r-- | src/test/ui/not-panic/not-panic-safe.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/not-panic/not-panic-safe.rs b/src/test/ui/not-panic/not-panic-safe.rs deleted file mode 100644 index 4165c5dc1..000000000 --- a/src/test/ui/not-panic/not-panic-safe.rs +++ /dev/null @@ -1,10 +0,0 @@ -#![allow(dead_code)] - -use std::panic::UnwindSafe; - -fn assert<T: UnwindSafe + ?Sized>() {} - -fn main() { - assert::<&mut i32>(); - //~^ ERROR the type `&mut i32` may not be safely transferred across an unwind boundary -} |