mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
14 lines
356 B
Plaintext
14 lines
356 B
Plaintext
error: generic args in patterns require the turbofish syntax
|
|
--> $DIR/pat-lt-bracket-4.rs:8:12
|
|
|
|
|
LL | Foo<T>::A(value) => value,
|
|
| ^
|
|
|
|
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
|
|
|
|
LL | Foo::<T>::A(value) => value,
|
|
| ++
|
|
|
|
error: aborting due to previous error
|
|
|