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 11:13:37 +00:00
struct Simba {
mother: u32,
}
fn main() {
2016-09-16 04:10:32 +00:00
let s = Simba { mother: 1, father: 0 };
//~^ ERROR E0560
2016-08-30 11:13:37 +00:00
}