rust/tests
bors 3f17c5c388 Auto merge of #10924 - est31:manual_let_else_question_mark, r=Centri3,flip1995,Manishearth
Don't lint manual_let_else in cases where ? would work

Don't lint `manual_let_else` where the question mark operator `?` would be sufficient, that is, mostly in cases like:

```Rust
let v = if let Some(v) = ex { v } else { return None };
```

Also, this PR emits the `question_mark` lint for `let...else` patterns that could be written with `?` (also, only `return None` like cases).

```
changelog: [`manual_let_else`]: don't lint in cases where question_mark already lints
changelog: [`question_mark`]: lint for `let Some(...) = ex else { return None };`
```

Fixes  #8755
2023-07-03 14:18:32 +00:00
..
test_utils
ui Auto merge of #10924 - est31:manual_let_else_question_mark, r=Centri3,flip1995,Manishearth 2023-07-03 14:18:32 +00:00
ui-cargo
ui-internal Merge remote-tracking branch 'upstream/master' into rustup 2023-06-30 16:09:06 +02:00
ui-toml change category and refactor 2023-06-27 05:16:40 -05:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Auto merge of #10920 - blyxyas:speedtest, r=llogiq 2023-07-02 15:48:50 +00:00
dogfood.rs
headers.rs
integration.rs
lint_message_convention.rs new lint needless_raw_string + refactor a bit 2023-06-27 05:12:00 -05:00
missing-test-files.rs
versioncheck.rs
workspace.rs