3 use std::panic::UnwindSafe;
4 use std::cell::RefCell;
6 fn assert<T: UnwindSafe + ?Sized>() {}
9 assert::<*mut RefCell<i32>>();
10 //~^ ERROR the type `UnsafeCell<i32>` may contain interior mutability and a
11 //~| ERROR the type `UnsafeCell<isize>` may contain interior mutability and a