3 #![allow(unused)] // for rustfix
9 fn foo(_: (i32, i32)); //~ ERROR patterns aren't allowed in methods without bodies
11 fn bar(_: (i32, i32)) {} //~ ERROR patterns aren't allowed in methods without bodies
13 fn method(_: S) {} //~ ERROR patterns aren't allowed in methods without bodies
15 fn f(&ident: &S) {} // ok
16 fn g(&&ident: &&S) {} // ok
17 fn h(mut ident: S) {} // ok