]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty/issue-37026.rs
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / ui / empty / issue-37026.rs
1 // aux-build:empty-struct.rs
2
3 extern crate empty_struct;
4
5 fn main() {
6     let empty_struct::XEmpty2 = (); //~ ERROR mismatched types
7     let empty_struct::XEmpty6(..) = (); //~ ERROR mismatched types
8 }