1 A non-ident or non-wildcard pattern has been used as a parameter of a function
4 Erroneous code example:
7 type A1 = fn(mut param: u8); // error!
8 type A2 = fn(¶m: u32); // error!
11 When using an alias over a function type, you cannot e.g. denote a parameter as
14 To fix the issue, remove patterns (`_` is allowed though). Example:
17 type A1 = fn(param: u8); // ok!
18 type A2 = fn(_: u32); // ok!
21 You can also omit the parameter name:
24 type A3 = fn(i16); // ok!