fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
380 B14 linesraw
1error: expected one of `:`, `@`, or `|`, found `<`
2  --> $DIR/pat-lt-bracket-2.rs:1:7
3   |
4LL | fn a(B<) {}
5   |       ^ expected one of `:`, `@`, or `|`
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   |      ^^^^
12
13error: aborting due to previous error
14