]> git.lizzy.rs Git - rust.git/blob - src/test/ui/empty/issue-37026.rs
Rollup merge of #95434 - cjgillot:dump-dep-kind, r=oli-obk
[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 }