1 // Check that an unsafe impl does not imply that unsafe actions are
2 // legal in the methods.
5 // [thir]compile-flags: -Z thir-unsafeck
7 unsafe trait UnsafeTrait : Sized {
11 unsafe impl UnsafeTrait for *mut isize {
13 // Unsafe actions are not made legal by taking place in an unsafe trait: