summaryrefslogtreecommitdiffstats
path: root/tests/ui/suppressed-error.rs
blob: 1e39be460809149380e6523b82ba48b29a2db74e (plain)
1
2
3
4
5
6
7
8
fn main() {
    let (x, y) = ();
//~^ ERROR mismatched types
//~| expected unit type `()`
//~| found tuple `(_, _)`
//~| expected `()`, found
    return x;
}