rust/tests/ui/did_you_mean/issue-114112.stderr

14 lines
330 B
Plaintext
Raw Normal View History

2023-08-01 10:30:40 -05:00
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 previous error