fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the type `&mut &mut &i32` may not be safely transferred across an unwind boundary 2 --> $DIR/not-panic-safe.rs:8:14 3 | 4LL | assert::<&mut &mut &i32>(); 5 | ^^^^^^^^^^^^^^ `&mut &mut &i32` may not be safely transferred across an unwind boundary 6 | 7 = help: the trait `UnwindSafe` is not implemented for `&mut &mut &i32` 8 = note: `UnwindSafe` is implemented for `&&mut &i32`, but not for `&mut &mut &i32` 9note: required by a bound in `assert` 10 --> $DIR/not-panic-safe.rs:5:14 11 | 12LL | fn assert<T: UnwindSafe + ?Sized>() {} 13 | ^^^^^^^^^^ required by this bound in `assert` 14help: consider removing 2 leading `&`-references 15 | 16LL - assert::<&mut &mut &i32>(); 17LL + assert::<&i32>(); 18 | 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0277`.