summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-22647.stderr
blob: 585e70266619a1dc67a812ae64afa2a63064adaf (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 previous error