0f40f14b61
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 |
||
---|---|---|
.. | ||
deref-patterns | ||
exponential_or.match_tuple.SimplifyCfg-initial.after.mir | ||
exponential_or.rs | ||
match_false_edges.full_tested_match2.built.after.mir | ||
match_false_edges.full_tested_match.built.after.mir | ||
match_false_edges.main.built.after.mir | ||
match_false_edges.rs | ||
never_patterns.opt1.SimplifyCfg-initial.after.mir | ||
never_patterns.opt2.SimplifyCfg-initial.after.mir | ||
never_patterns.opt3.SimplifyCfg-initial.after.mir | ||
never_patterns.rs | ||
simple_match.match_bool.built.after.mir | ||
simple_match.rs | ||
sort_candidates.constant_eq.SimplifyCfg-initial.after.mir | ||
sort_candidates.disjoint_ranges.SimplifyCfg-initial.after.mir | ||
sort_candidates.rs |