rust/tests/ui/parser/pat-lt-bracket-4.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
358 B
Plaintext
Raw Normal View History

2023-08-01 15:30:40 +00:00
error: generic args in patterns require the turbofish syntax
--> $DIR/pat-lt-bracket-4.rs:8:12
2018-10-20 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | Foo<T>::A(value) => value,
2023-08-01 15:30:40 +00:00
| ^
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
LL | Foo::<T>::A(value) => value,
| ++
2018-10-20 20:36:17 +00:00
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00