1 use no_panic::no_panic; 2 3 trait Trait { 4 #[no_panic] f()5 fn f(); 6 } 7 8 impl Trait for i32 { f()9 fn f() {} 10 } 11 main()12 fn main() {} 13