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