rust/tests/mir-opt/building
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
..
custom Fix tests and bless 2024-04-24 13:12:33 +01:00
match Auto merge of #123332 - Nadrieril:testkind-never, r=matthewjasper 2024-05-07 15:14:20 +00:00
async_await.a-{closure#0}.coroutine_resume.0.mir In `pretty_print_type()`, print `async fn` futures' paths instead of spans. 2024-03-25 08:01:15 -07:00
async_await.b-{closure#0}.coroutine_resume.0.mir Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
async_await.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
enum_cast.bar.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.boo.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.droppy.built.after.mir make MIR less verbose 2023-08-24 14:26:26 +02:00
enum_cast.far.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.foo.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.offsetty.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
enum_cast.signy.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
enum_cast.unsigny.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
eq_never_type._f.built.after.mir Correctly change type when adding adjustments on top of `NeverToAny` 2024-04-19 11:05:02 +00:00
eq_never_type.rs Add a test for `a == b` where `a: !, b: !` 2024-04-19 11:05:02 +00:00
issue_49232.main.built.after.mir Allocate candidate vectors as we sort them 2024-03-02 18:33:19 +01:00
issue_49232.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
issue_101867.main.built.after.mir bless mir-opt tests 2024-04-08 15:08:06 +00:00
issue_101867.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
issue_110508.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
issue_110508.{impl#0}-BAR.built.after.mir Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
issue_110508.{impl#0}-SELF_BAR.built.after.mir Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
logical_or_in_conditional.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
logical_or_in_conditional.test_complex.built.after.mir Make the success arms of `if lhs || rhs` meet up in a separate block 2024-02-29 20:24:43 +11:00
logical_or_in_conditional.test_or.built.after.mir Make the success arms of `if lhs || rhs` meet up in a separate block 2024-02-29 20:24:43 +11:00
receiver_ptr_mutability.main.built.after.mir bless mir-opt tests 2024-04-08 15:08:06 +00:00
receiver_ptr_mutability.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
shifts.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
shifts.shift_signed.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
shifts.shift_unsigned.built.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
storage_live_dead_in_statics.XXX.built.after.mir Rename `adjustment::PointerCast` and variants using it to `PointerCoercion` 2023-07-07 18:17:16 +02:00
storage_live_dead_in_statics.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
uniform_array_move_out.move_out_by_subslice.built.after.mir Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
uniform_array_move_out.move_out_from_end.built.after.mir Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
uniform_array_move_out.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
while_storage.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
while_storage.while_loop.PreCodegen.after.panic-abort.mir FileCheck while_storage. 2023-10-31 22:55:14 +00:00
while_storage.while_loop.PreCodegen.after.panic-unwind.mir FileCheck while_storage. 2023-10-31 22:55:14 +00:00