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

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

9 lines
114 B
Rust
Raw Normal View History

2016-08-30 06:13:37 -05:00
struct Simba {
mother: u32,
}
fn main() {
2016-09-15 23:10:32 -05:00
let s = Simba { mother: 1, father: 0 };
//~^ ERROR E0560
2016-08-30 06:13:37 -05:00
}