blob: 7f9d99d8edfa188fe4ad5ce62c9c884a2e656575 (
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-22712.rs:6:12
|
LL | let Foo<Vec<u8>>
| ^
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
LL | let Foo::<Vec<u8>>
| ++
error: aborting due to previous error
|