2 fn foo(_: fn(u8) -> ());
11 fn foo(_: fn(u16) -> ()) {}
12 //~^ ERROR method `foo` has an incompatible type for trait
13 fn bar(_: Option<u16>) {}
14 //~^ ERROR method `bar` has an incompatible type for trait
15 fn baz(_: (u16, u16)) {}
16 //~^ ERROR method `baz` has an incompatible type for trait
17 fn qux() -> u16 { 5u16 }
18 //~^ ERROR method `qux` has an incompatible type for trait