]>
git.proxmox.com Git - rustc.git/blob - tests/ui/not-panic/not-panic-safe.rs
3 use std
::panic
::UnwindSafe
;
5 fn assert
<T
: UnwindSafe
+ ?Sized
>() {}
8 assert
::<&mut &mut &i32>();
9 //~^ ERROR the type `&mut &mut &i32` may not be safely transferred across an unwind boundary