rust/tests/ui/empty/issue-37026.rs
2024-02-16 20:02:50 +00:00

9 lines
203 B
Rust

//@ 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
}