mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
14 lines
354 B
Plaintext
14 lines
354 B
Plaintext
error: generic args in patterns require the turbofish syntax
|
|
--> $DIR/pat-lt-bracket-3.rs:6:16
|
|
|
|
|
LL | Foo<T>(x, y) => {
|
|
| ^
|
|
|
|
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
|
|
|
|
LL | Foo::<T>(x, y) => {
|
|
| ++
|
|
|
|
error: aborting due to previous error
|
|
|