]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suppressed-error.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[rust.git] / src / test / 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 }