]> git.lizzy.rs Git - rust.git/blob - src/test/ui/empty/issue-37026.rs
Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup
[rust.git] / src / test / 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 }