diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-06 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-06 00:00:00 +0000 |
| commit | 8a8ee1a3ed249e4077a7ce0b88903b493419e7d7 (patch) | |
| tree | ff1bc68c9da2e6df31453d7b14c50a48092d60ef /compiler/rustc_mir/src/transform/coverage/counters.rs | |
| parent | 9d78d1d02761b906038ba4d54c5f3427f920f5fb (diff) | |
| download | rust-8a8ee1a3ed249e4077a7ce0b88903b493419e7d7.tar.gz rust-8a8ee1a3ed249e4077a7ce0b88903b493419e7d7.zip | |
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.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions
