f5d225de37
`question_mark` don't lint on `if let Err` with `else` cc #9518 AFAICT the only time this would be a valid suggestion is the rather esoteric ```rust let _ = if let Err(e) = x { return Err(e); } else { // no side effects x.unwrap() } ``` which doesn't seem worth checking to me. Please correct me if I'm missing something. changelog: [`question_mark`] don't lint on `if let Err` with `else` |
||
---|---|---|
.. | ||
test_utils | ||
ui | ||
ui-cargo | ||
ui-internal | ||
ui-toml | ||
workspace_test | ||
check-fmt.rs | ||
clippy.toml | ||
compile-test.rs | ||
dogfood.rs | ||
integration.rs | ||
lint_message_convention.rs | ||
missing-test-files.rs | ||
versioncheck.rs | ||
workspace.rs |