1 2 3 4 5 6 7 8 9
struct Foo<B> { buffer: B } fn bar() { let Foo<Vec<u8>> //~ ERROR generic args in patterns require the turbofish syntax } fn main() {}