2016-10-26 02:28:20 +03:00
|
|
|
fn f() -> isize { //~ ERROR mismatched types
|
2015-01-06 20:54:54 -05:00
|
|
|
// Make sure typestate doesn't interpret this match expression as
|
|
|
|
// the function result
|
2012-08-23 14:44:58 -07:00
|
|
|
match true { true => { } _ => {} };
|
2011-05-31 15:24:18 -04:00
|
|
|
}
|
2011-07-27 14:19:39 +02:00
|
|
|
|
2011-08-19 15:16:48 -07:00
|
|
|
fn main() { }
|