blob: a18669f725e314a438442a67489f93081983b358 (
plain)
1
2
3
4
5
6
7
  | 
fn f() -> isize { //~ ERROR mismatched types
    // Make sure typestate doesn't interpret this match expression as
    // the function result
   match true { true => { } _ => {} };
}
fn main() { }
 
  |