// error-pattern:`if` without `else` can not produce a result fn main() { let a = if true { true }; log(debug, a); }