]> git.lizzy.rs Git - rust.git/blob - tests/ui/suppressed-error.rs
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / ui / suppressed-error.rs
1 fn main() {
2     let (x, y) = ();
3 //~^ ERROR mismatched types
4 //~| expected unit type `()`
5 //~| found tuple `(_, _)`
6 //~| expected `()`, found tuple
7     return x;
8 }