rust/tests
bors 20b085d500 Auto merge of #12745 - y21:collapsible_match_or_pat, r=llogiq
Suggest collapsing nested or patterns if the MSRV allows it

Nested `or` patterns have been stable since 1.53, so we should be able to suggest `Some(1 | 2)` if the MSRV isn't set below that.

This change adds an msrv check and also moves it to `matches/mod.rs`, because it's also needed by `redundant_guards`.

changelog: [`collapsible_match`]: suggest collapsing nested or patterns if the MSRV allows it
2024-05-02 12:57:59 +00:00
..
test_utils
ui Auto merge of #12745 - y21:collapsible_match_or_pat, r=llogiq 2024-05-02 12:57:59 +00:00
ui-cargo
ui-internal
ui-toml Merge remote-tracking branch 'upstream/master' into rustup 2024-05-02 14:21:00 +02:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Bump ui_test to 0.23 2024-05-02 12:44:40 +02:00
dogfood.rs
headers.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs