blob: b71a5ad939e596d02beeb5a9f9f704abbb0c2a8c (
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-4.rs:8:12
|
LL | Foo<T>::A(value) => value,
| ^
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
LL | Foo::<T>::A(value) => value,
| ++
error: aborting due to previous error
|