5 fn foo((x, y): (i32, i32)); //~ ERROR patterns aren't allowed in methods without bodies
7 fn bar((x, y): (i32, i32)) {} //~ ERROR patterns aren't allowed in methods without bodies
9 fn method(S { .. }: S) {} //~ ERROR patterns aren't allowed in methods without bodies
11 fn f(&ident: &S) {} // ok
12 fn g(&&ident: &&S) {} // ok
13 fn h(mut ident: S) {} // ok