2013-05-11 17:51:00 -07:00
|
|
|
fn main() {
|
2014-10-21 03:40:15 +02:00
|
|
|
let (x, y) = ();
|
2015-01-12 01:01:44 -05:00
|
|
|
//~^ ERROR mismatched types
|
2019-11-14 14:08:08 -08:00
|
|
|
//~| expected unit type `()`
|
2019-11-13 14:16:56 -08:00
|
|
|
//~| found tuple `(_, _)`
|
2023-01-02 18:00:33 -08:00
|
|
|
//~| expected `()`, found
|
2013-05-11 17:51:00 -07:00
|
|
|
return x;
|
2013-09-23 17:20:36 -07:00
|
|
|
}
|