Matthias Krüger 949e55299d
Rollup merge of #120775 - Nadrieril:more-min_exh_pats, r=compiler-errors
Make `min_exhaustive_patterns` match `exhaustive_patterns` better

Split off from https://github.com/rust-lang/rust/pull/120742.

There remained two edge cases where `min_exhaustive_patterns` wasn't behaving like `exhaustive_patterns`. This fixes them, and tests the feature in a bunch more cases. I essentially went through all uses of `exhaustive_patterns` to see which ones would be interesting to compare between the two features.

r? `@compiler-errors`
2024-02-08 20:34:59 +01:00
..
2024-01-23 15:10:23 +00:00
2023-06-20 19:46:01 -04:00
2023-08-28 17:47:37 -03:00
2023-10-20 21:14:01 +00:00
2023-04-11 17:45:42 +00:00