407c352688
Fix: Some suggestions generated by the option_if_let_else lint did not compile This addresses a bug in Clippy where the fix suggestend by the `option_if_let_else` lint would not compile for `Result`s which have an impure expression in the `else` branch. --- changelog: [`option_if_let_else`]: Fixed incorrect suggestion for `Result`s [#10337](https://github.com/rust-lang/rust-clippy/pull/10337) <!-- changelog_checked --> Fixes #10335.