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
exponential_or.match_tuple.SimplifyCfg-initial.after.mir
exponential_or.rs
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
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
simple_match.rs
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