rust/compiler/rustc_middle
Dylan DPC b4589a86cc
Rollup merge of #78674 - tmiasko:inline-substs-for-mir-body, r=oli-obk
inliner: Use substs_for_mir_body

Changes from 68965 extended the kind of instances that are being
inlined. For some of those, the `instance_mir` returns a MIR body that
is already expressed in terms of the types found in substitution array,
and doesn't need further substitution.

Use `substs_for_mir_body` to take that into account.

Resolves #78529.
Resolves #78560.
2020-11-09 01:13:42 +01:00
..
benches
src Rollup merge of #78674 - tmiasko:inline-substs-for-mir-body, r=oli-obk 2020-11-09 01:13:42 +01:00
Cargo.toml Address comments 2020-10-27 19:42:02 -04:00
README.md

For more information about how rustc works, see the rustc dev guide.