rust/tests/ui/parser/issues/issue-10392-2.fixed

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

10 lines
137 B
Rust
Raw Normal View History

2020-07-02 00:32:12 -05:00
// run-rustfix
pub struct A { pub foo: isize }
fn a() -> A { panic!() }
fn main() {
let A { .. } = a(); //~ ERROR: expected `}`
}