// error-pattern: mismatched types fn f() -> int { // Make sure typestate doesn't interpret this alt expression // as the function result alt true { true { } } } fn main() { }