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