rust/src/test/ui/suppressed-error.rs
2018-12-25 21:08:33 -07:00

9 lines
156 B
Rust

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