about summary refs log tree commit diff
path: root/tests/ui/typeck/invalid-stashed-level-issue-121812.rs
blob: 4b61f4f2c63abd8f76c150067e95905d1a3421e6 (plain)
1
2
3
4
5
6
7
8
union U {
    a: u16,
    b: [u8; 3],
}

fn main() {
    _ = U { b: [()] }; //~ ERROR mismatched types
}