rust/tests/ui/rfcs
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
..
rfc-0000-never_patterns Rollup merge of #120775 - Nadrieril:more-min_exh_pats, r=compiler-errors 2024-02-08 20:34:59 +01:00
rfc-0107-bind-by-move-pattern-guards
rfc-1014-stdout-existential-crisis
rfc-1445-restrict-constants-in-patterns update the tracking issue for structural match violations 2024-02-05 20:36:11 +01:00
rfc-1623-static Add print_trait_sugared 2023-12-05 17:15:46 +00:00
rfc-1717-dllimport Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-1789-as-cell
rfc-1857-stabilize-drop-order
rfc-1937-termination-trait Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
rfc-2005-default-binding-mode recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
rfc-2008-non-exhaustive Auto merge of #117611 - Nadrieril:linear-pass-take-4, r=cjgillot 2023-11-26 00:14:14 +00:00
rfc-2027-object-safe-for-dispatch Update tests 2024-02-07 10:42:01 +08:00
rfc-2091-track-caller Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
rfc-2093-infer-outlives Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2126-crate-paths Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2126-extern-absolute-paths Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2151-raw-identifiers Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
rfc-2175-or-if-while-let
rfc-2294-if-let-guard Bless tests 2024-01-13 12:46:58 -05:00
rfc-2302-self-struct-ctor
rfc-2306-convert-id
rfc-2361-dbg-macro Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
rfc-2396-target_feature-11 Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
rfc-2397-do-not-recommend Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
rfc-2421-unreserve-pure-offsetof-sizeof-alignof
rfc-2457-non-ascii-idents Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2497-if-let-chains Bless tests 2024-01-13 12:46:58 -05:00
rfc-2528-type-changing-struct-update Bless tests 2024-01-13 12:46:58 -05:00
rfc-2565-param-attrs Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
rfc-2627-raw-dylib Manual find replace updates 2023-11-24 21:04:51 +01:00
rfc-2632-const-trait-impl Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
rfc-3348-c-string-literals Detect NulInCStr error earlier. 2024-01-12 16:19:37 +11:00