fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
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 `self` type, give it a parameter name 9 | 10LL | fn a(self: B<) {} 11 | ^^^^^^^ 12help: if this is a type, explicitly ignore the parameter name 13 | 14LL | fn a(_: B<) {} 15 | ^^^^ 16 17error: aborting due to previous error 18