rust/tests/ui/empty/issue-37026.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
202 B
Rust
Raw Normal View History

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