]> git.lizzy.rs Git - rust.git/blob - src/test/ui/empty/issue-37026.rs
Rollup merge of #103159 - cuviper:check_pow-final-try_opt, r=Mark-Simulacrum
[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 }