rust/tests/mir-opt/building/match
bors 0f40f14b61 Auto merge of #123332 - Nadrieril:testkind-never, r=matthewjasper
never patterns: lower never patterns to `Unreachable` in MIR

This lowers a `!` pattern to "goto Unreachable". Ideally I'd like to read from the place to make it clear that the UB is coming from an invalid value, but that's tricky so I'm leaving it for later.

r? `@compiler-errors` how do you feel about a lil bit of MIR lowering
2024-05-07 15:14:20 +00:00
..
deref-patterns Regroup mir-opt tests of match building 2024-03-30 17:37:15 +01:00
exponential_or.match_tuple.SimplifyCfg-initial.after.mir Regroup mir-opt tests of match building 2024-03-30 17:37:15 +01:00
exponential_or.rs Regroup mir-opt tests of match building 2024-03-30 17:37:15 +01:00
match_false_edges.full_tested_match2.built.after.mir Add a non-shallow fake borrow 2024-04-20 16:01:35 +02:00
match_false_edges.full_tested_match.built.after.mir Add a non-shallow fake borrow 2024-04-20 16:01:35 +02:00
match_false_edges.main.built.after.mir Add a non-shallow fake borrow 2024-04-20 16:01:35 +02:00
match_false_edges.rs Regroup mir-opt tests of match building 2024-03-30 17:37:15 +01:00
never_patterns.opt1.SimplifyCfg-initial.after.mir Lower never patterns to Unreachable in mir 2024-05-04 16:30:01 +02:00
never_patterns.opt2.SimplifyCfg-initial.after.mir Lower never patterns to Unreachable in mir 2024-05-04 16:30:01 +02:00
never_patterns.opt3.SimplifyCfg-initial.after.mir Lower never patterns to Unreachable in mir 2024-05-04 16:30:01 +02:00
never_patterns.rs Lower never patterns to Unreachable in mir 2024-05-04 16:30:01 +02:00
simple_match.match_bool.built.after.mir Regroup mir-opt tests of match building 2024-03-30 17:37:15 +01:00
simple_match.rs Regroup mir-opt tests of match building 2024-03-30 17:37:15 +01:00
sort_candidates.constant_eq.SimplifyCfg-initial.after.mir Add a non-shallow fake borrow 2024-04-20 16:01:35 +02:00
sort_candidates.disjoint_ranges.SimplifyCfg-initial.after.mir Add a non-shallow fake borrow 2024-04-20 16:01:35 +02:00
sort_candidates.rs Stabilize exclusive_range 2024-05-02 19:42:31 -04:00