d83abe8c12
Only check the `DefId` for the recursion check in MIR inliner. The current history check compares `Instance`s, so it cannot detect cases of polymorphic recursion where `Substs` change. This PR makes it so we only compare `DefId`s, ignoring any change in `Substs`. According to https://github.com/rust-lang/rust/pull/100522#issuecomment-1214769757, in practice only very few inlining decisions change. Fixes https://github.com/rust-lang/rust/issues/100476 |
||
---|---|---|
.. | ||
coverage | ||
inline | ||
abort_unwinding_calls.rs | ||
add_call_guards.rs | ||
add_moves_for_packed_drops.rs | ||
add_retag.rs | ||
check_const_item_mutation.rs | ||
check_packed_ref.rs | ||
check_unsafety.rs | ||
cleanup_post_borrowck.rs | ||
const_debuginfo.rs | ||
const_goto.rs | ||
const_prop_lint.rs | ||
const_prop.rs | ||
dead_store_elimination.rs | ||
deaggregator.rs | ||
deduplicate_blocks.rs | ||
deref_separator.rs | ||
dest_prop.rs | ||
dump_mir.rs | ||
early_otherwise_branch.rs | ||
elaborate_box_derefs.rs | ||
elaborate_drops.rs | ||
ffi_unwind_calls.rs | ||
function_item_references.rs | ||
generator.rs | ||
inline.rs | ||
instcombine.rs | ||
lib.rs | ||
lower_intrinsics.rs | ||
lower_slice_len.rs | ||
marker.rs | ||
match_branches.rs | ||
multiple_return_terminators.rs | ||
normalize_array_len.rs | ||
nrvo.rs | ||
pass_manager.rs | ||
remove_false_edges.rs | ||
remove_noop_landing_pads.rs | ||
remove_storage_markers.rs | ||
remove_uninit_drops.rs | ||
remove_unneeded_drops.rs | ||
remove_zsts.rs | ||
required_consts.rs | ||
reveal_all.rs | ||
separate_const_switch.rs | ||
shim.rs | ||
simplify_branches.rs | ||
simplify_comparison_integral.rs | ||
simplify_try.rs | ||
simplify.rs | ||
uninhabited_enum_branching.rs | ||
unreachable_prop.rs |