]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/pat-lt-bracket-2.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / parser / pat-lt-bracket-2.stderr
CommitLineData
e1599b0c 1error: expected one of `:`, `@`, or `|`, found `<`
0731742a 2 --> $DIR/pat-lt-bracket-2.rs:1:7
0bf4aa26
XL
3 |
4LL | 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)
8help: if this is a type, explicitly ignore the parameter name
9 |
10LL | fn a(_: B<) {}
11 | ^^^^
0bf4aa26
XL
12
13error: aborting due to previous error
14