blob: 73d68e8b7a5ab340375bb570688a08f734313d92 [file] [log] [blame]
fn b(foo: u32, &mut self) { }
//~^ ERROR unexpected `self` parameter in function
//~| NOTE not valid as function parameter
//~| NOTE `self` is only valid as the first parameter of an associated function
fn main() { }