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