blob: 95604758a6b3e57f4bfbfa87bfe0642103d0928a [file] [log] [blame] [edit]
fn main() {
let a = if true { true };
//~^ ERROR `if` may be missing an `else` clause [E0317]
//~| expected `bool`, found `()`
println!("{}", a);
}