// Cannot have a larger effect than the trait:
unsafe fn jumbo(&self, x: &usize) { *self + *x; }
//~^ ERROR method `jumbo` has an incompatible type for trait
- //~| expected type `fn
- //~| found type `unsafe fn
+ //~| expected fn pointer `fn
+ //~| found fn pointer `unsafe fn
}
fn main() {}