rust/tests/ui/error-codes/E0062.rs

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

12 lines
119 B
Rust
Raw Normal View History

2016-05-20 08:18:30 -05:00
struct Foo {
x: i32
}
fn main() {
let x = Foo {
x: 0,
2016-05-20 08:18:30 -05:00
x: 0,
2016-08-04 15:52:16 -05:00
//~^ ERROR E0062
2016-05-20 08:18:30 -05:00
};
}