rust/tests/ui/parser/issues/issue-22712.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
145 B
Rust
Raw Normal View History

struct Foo<B> {
buffer: B
}
fn bar() {
2023-08-01 10:30:40 -05:00
let Foo<Vec<u8>> //~ ERROR generic args in patterns require the turbofish syntax
}
fn main() {}