summaryrefslogtreecommitdiffstats
path: root/tests/ui/empty/issue-37026.rs
blob: fd678a717d0493241c4a459f673264b32fc2d94a (plain)
1
2
3
4
5
6
7
8
// aux-build:empty-struct.rs

extern crate empty_struct;

fn main() {
    let empty_struct::XEmpty2 = (); //~ ERROR mismatched types
    let empty_struct::XEmpty6(..) = (); //~ ERROR mismatched types
}