1 // This is not autofixable because we give extra suggestions to end the first expression with `;`.
2 fn foo(a: Option<u32>, b: Option<u32>) -> bool {
3 if let Some(x) = a { true } else { false }
4 //~^ ERROR mismatched types
5 //~| ERROR mismatched types
6 && //~ ERROR mismatched types
7 if let Some(y) = a { true } else { false }