mirror of
https://git.proxmox.com/git/rustc
synced 2025-06-02 21:47:27 +00:00
10 lines
245 B
Rust
10 lines
245 B
Rust
// Regression test for issue #91421.
|
|
|
|
fn main() {
|
|
let value = if true && {
|
|
//~^ ERROR: this `if` expression is missing a block after the condition
|
|
//~| HELP: this binary operation is possibly unfinished
|
|
3
|
|
} else { 4 };
|
|
}
|