9 lines
156 B
Rust
9 lines
156 B
Rust
fn main() {
|
|
let (x, y) = ();
|
|
//~^ ERROR mismatched types
|
|
//~| expected type `()`
|
|
//~| found type `(_, _)`
|
|
//~| expected (), found tuple
|
|
return x;
|
|
}
|