]>
Commit | Line | Data |
---|---|---|
e1599b0c | 1 | error: expected one of `:`, `@`, or `|`, found `<` |
0731742a | 2 | --> $DIR/pat-lt-bracket-2.rs:1:7 |
0bf4aa26 XL |
3 | | |
4 | LL | fn a(B<) {} | |
60c5eb7d | 5 | | ^ expected one of `:`, `@`, or `|` |
e74abb32 XL |
6 | | |
7 | = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) | |
8 | help: if this is a type, explicitly ignore the parameter name | |
9 | | | |
10 | LL | fn a(_: B<) {} | |
11 | | ^^^^ | |
0bf4aa26 XL |
12 | |
13 | error: aborting due to previous error | |
14 |