mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
332 B
Plaintext
14 lines
332 B
Plaintext
error: generic args in patterns require the turbofish syntax
|
|
--> $DIR/issue-114112.rs:7:10
|
|
|
|
|
LL | E<i32>::A(v) => {
|
|
| ^
|
|
|
|
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
|
|
|
|
LL | E::<i32>::A(v) => {
|
|
| ++
|
|
|
|
error: aborting due to 1 previous error
|
|
|