rust/compiler/rustc_mir/src/transform
Dylan DPC 83c58d6fb6
Rollup merge of #77568 - lcnr:mir-inline-def-id, r=ecstatic-morse
inliner: use caller param_env

We used the callee param env instead of the caller param env by accident in #77430, this PR fixes that and caches it in the `Inliner` struct.

fixes #77564

r? @ecstatic-morse
2020-10-07 00:16:05 +02:00
..
check_consts Auto merge of #77552 - ecstatic-morse:body-def-id, r=lcnr 2020-10-05 09:26:32 +00:00
add_call_guards.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
add_moves_for_packed_drops.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
add_retag.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
check_const_item_mutation.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
check_packed_ref.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
check_unsafety.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
cleanup_post_borrowck.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
const_prop.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
copy_prop.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
deaggregator.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
dest_prop.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
dump_mir.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
early_otherwise_branch.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
elaborate_drops.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
generator.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
inline.rs inliner: use caller param_env 2020-10-05 11:04:25 +02:00
instcombine.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
instrument_coverage.rs Updates to experimental coverage counter injection 2020-10-05 08:02:58 -07:00
match_branches.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
mod.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
multiple_return_terminators.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
no_landing_pads.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
nrvo.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
promote_consts.rs Replace (Body, WithOptConstParam) with Body where possible 2020-10-04 16:59:51 -07:00
remove_noop_landing_pads.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
remove_unneeded_drops.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
required_consts.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
rustc_peek.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
simplify.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
simplify_branches.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
simplify_comparison_integral.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
simplify_try.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
uninhabited_enum_branching.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
unreachable_prop.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
validate.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00