blob: bdf74af6393e3a3894e6ee31b7a17023dea764cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error: generic args in patterns require the turbofish syntax
--> $DIR/issue-22647.rs:2:15
|
LL | let caller<F> = |f: F|
| ^
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
LL | let caller::<F> = |f: F|
| ++
error: aborting due to 1 previous error
|