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
356 B
Plaintext
Raw Normal View History

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