summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/pat-lt-bracket-3.stderr
blob: afdf1e9a557622ef75a70f8eb2979cc43ecff53e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: generic args in patterns require the turbofish syntax
  --> $DIR/pat-lt-bracket-3.rs:6:16
   |
LL |             Foo<T>(x, y) => {
   |                ^
   |
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
   |
LL |             Foo::<T>(x, y) => {
   |                ++

error: aborting due to previous error