rust/tests/mir-opt/inline
bors a8a29070f0 Auto merge of #100036 - DrMeepster:box_free_free_box, r=oli-obk
Remove `box_free` lang item

This PR removes the `box_free` lang item, replacing it with `Box`'s `Drop` impl. Box dropping is still slightly magic because the contained value is still dropped by the compiler.
2023-06-17 16:10:57 +00:00
..
asm_unwind.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
asm_unwind.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
asm_unwind.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
caller_with_trivial_bound.foo.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
caller_with_trivial_bound.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
cycle.f.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.f.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.g.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.g.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
dyn_trait.get_query.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.get_query.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.mk_cycle.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.mk_cycle.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
dyn_trait.try_execute_query.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dyn_trait.try_execute_query.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
exponential_runtime.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
exponential_runtime.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
exponential_runtime.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_any_operand.bar.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_any_operand.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_async.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_closure_borrows_arg.foo.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_closure_borrows_arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_closure_captures.foo.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_closure_captures.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_closure.foo.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_compatibility.inlined_no_sanitize.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.inlined_no_sanitize.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.inlined_target_feature.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.inlined_target_feature.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_c_variadic.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_c_variadic.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_no_sanitize.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_no_sanitize.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_target_feature.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.not_inlined_target_feature.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_compatibility.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_cycle_generic.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle_generic.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle_generic.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_cycle.one.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle.one.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_cycle.two.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_cycle.two.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.f.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.f.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.g.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.g.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.h.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.h.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_diverging.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_generator.main.Inline.panic-abort.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_generator.main.Inline.panic-unwind.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_generator.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_instruction_set.default.Inline.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_instruction_set.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_instruction_set.t32.Inline.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_into_box_place.main.Inline.panic-abort.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_into_box_place.main.Inline.panic-unwind.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_into_box_place.rs Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
inline_options.main.Inline.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_options.main.Inline.after.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_options.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_retag.bar.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_retag.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_shims.clone.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_shims.clone.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_shims.drop.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_shims.drop.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_shims.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_specialization.main.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_specialization.main.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_specialization.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_trait_method_2.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_trait_method_2.test2.Inline.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_trait_method_2.test2.Inline.after.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_trait_method.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inline_trait_method.test.Inline.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inline_trait_method.test.Inline.after.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.a.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.b.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.c.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.d.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_58867_inline_as_ref_as_mut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue_76997_inline_scopes_parenting.main.Inline.after.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_76997_inline_scopes_parenting.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue_78442.bar.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_78442.bar.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_78442.bar.RevealAll.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_78442.bar.RevealAll.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_78442.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
issue_106141.outer.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_106141.outer.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_106141.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
polymorphic_recursion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unchecked_shifts.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
unchecked_shifts.unchecked_shl_unsigned_smaller.Inline.panic-abort.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
unchecked_shifts.unchecked_shl_unsigned_smaller.Inline.panic-unwind.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
unchecked_shifts.unchecked_shl_unsigned_smaller.PreCodegen.after.panic-abort.mir Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
unchecked_shifts.unchecked_shl_unsigned_smaller.PreCodegen.after.panic-unwind.mir Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
unchecked_shifts.unchecked_shr_signed_smaller.Inline.panic-abort.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
unchecked_shifts.unchecked_shr_signed_smaller.Inline.panic-unwind.diff Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
unchecked_shifts.unchecked_shr_signed_smaller.PreCodegen.after.panic-abort.mir Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
unchecked_shifts.unchecked_shr_signed_smaller.PreCodegen.after.panic-unwind.mir Ignore the always part of #[inline(always)] in MIR inlining 2023-06-16 11:36:02 -04:00
unsized_argument.caller.Inline.diff remove box_free and replace with drop impl 2023-06-16 13:41:06 -07:00
unsized_argument.rs Don't inline functions with unsized args 2023-05-20 17:45:50 -07:00
unwrap_unchecked.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
unwrap_unchecked.unwrap_unchecked.Inline.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
unwrap_unchecked.unwrap_unchecked.Inline.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
unwrap_unchecked.unwrap_unchecked.PreCodegen.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
unwrap_unchecked.unwrap_unchecked.PreCodegen.after.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00