6 lines
117 B
Rust
6 lines
117 B
Rust
![]() |
// error-pattern:`if` without `else` can not produce a result
|
||
|
|
||
|
fn main() {
|
||
|
let a = if true { true };
|
||
|
log a;
|
||
|
}
|