2023-08-01 10:30:40 -05:00
|
|
|
error: generic args in patterns require the turbofish syntax
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $DIR/pat-lt-bracket-3.rs:6:16
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
|
LL | Foo<T>(x, y) => {
|
2023-08-01 10:30:40 -05:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
|
|
|
|
|
|
|
|
LL | Foo::<T>(x, y) => {
|
|
|
|
| ++
|
2018-10-20 15:36:17 -05:00
|
|
|
|
2018-10-20 16:38:23 -05:00
|
|
|
error: aborting due to previous error
|
2018-10-20 15:36:17 -05:00
|
|
|
|