mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
9 lines
203 B
Rust
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
|
|
}
|