summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0560.rs
blob: 1d60f8948ab15b42a20a2182e7196db2ab8b3d8f (plain)
1
2
3
4
5
6
7
8
struct Simba {
    mother: u32,
}

fn main() {
    let s = Simba { mother: 1, father: 0 };
    //~^ ERROR E0560
}