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