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

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

14 lines
354 B
Plaintext
Raw Normal View History

2023-08-01 10:30:40 -05:00
error: generic args in patterns require the turbofish syntax
--> $DIR/pat-lt-bracket-3.rs:6:16
2018-10-20 15:36:17 -05:00
|
LL | Foo<T>(x, y) => {
2023-08-01 10:30:40 -05:00
| ^
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
LL | Foo::<T>(x, y) => {
| ++
2018-10-20 15:36:17 -05:00
error: aborting due to previous error
2018-10-20 15:36:17 -05:00