about summary refs log tree commit diff
path: root/src/test/ui/suppressed-error.rs
blob: cf3dce8e224c3d6f7eb8607894d048693c62e899 (plain)
1
2
3
4
5
6
7
8
fn main() {
    let (x, y) = ();
//~^ ERROR mismatched types
//~| expected type `()`
//~| found type `(_, _)`
//~| expected (), found tuple
    return x;
}