rust/tests/ui/parser/issues/issue-10392-2.rs
2024-02-16 20:02:50 +00:00

10 lines
139 B
Rust

//@ run-rustfix
pub struct A { pub foo: isize }
fn a() -> A { panic!() }
fn main() {
let A { .., } = a(); //~ ERROR: expected `}`
}