rust/tests/ui/parser/issues/issue-22647.stderr

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

14 lines
343 B
Plaintext
Raw Normal View History

2023-08-01 15:30:40 +00:00
error: generic args in patterns require the turbofish syntax
--> $DIR/issue-22647.rs:2:15
2018-10-20 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | let caller<F> = |f: F|
2023-08-01 15:30:40 +00:00
| ^
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
LL | let caller::<F> = |f: F|
| ++
2018-10-20 20:36:17 +00:00
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00