Closed as not planned
Description
If we chain multiple if let
blocks into a single one with &&
, rustfmt
fails to format or gives
error[internal]: left behind trailing whitespace
Example:
fn main() {
let x = Some(10);
let y = None;
if let Some(x) = x
&& let Some(y) = y {
println!("Hi");
}
}
Version: 1.6.0-nightly (2023-07-27 500647f)
Metadata
Metadata
Assignees
Labels
No labels