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
356 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-3.rs:6:16
2018-10-20 20:36:17 +00:00
|
LL | Foo<T>(x, y) => {
2023-08-01 15:30:40 +00:00
| ^
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
LL | Foo::<T>(x, y) => {
| ++
2018-10-20 20:36:17 +00:00
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00