4 fn foo(&self, &str bar) {}
5 //~^ ERROR expected one of `:`, `@`
6 //~| HELP declare the type after the parameter binding
7 //~| SUGGESTION <identifier>: <type>
10 fn baz(S quux, xyzzy: i32) {}
11 //~^ ERROR expected one of `:`, `@`
12 //~| HELP declare the type after the parameter binding
13 //~| SUGGESTION <identifier>: <type>
16 //~^ ERROR expected one of `:`, `@`
18 fn pattern((i32, i32) (a, b)) {}
19 //~^ ERROR expected one of `:`
22 //~^ ERROR expected one of `:`, `@`
23 //~| HELP if this was a parameter name, give it a type
24 //~| HELP if this is a type, explicitly ignore the parameter name
26 fn missing_colon(quux S) {}
27 //~^ ERROR expected one of `:`, `@`
28 //~| HELP declare the type after the parameter binding
29 //~| SUGGESTION <identifier>: <type>