diff options
| author | David Wood <david@davidtw.co> | 2020-03-11 19:36:07 +0000 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-03-12 09:32:15 +0000 |
| commit | bee151308d5c5090627772c04e17f783aa53451a (patch) | |
| tree | f553bb854b7ffebfc10ba837c6b7cb943f4198a7 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 303d8aff6092709edd4dbd35b1c88e9aa40bf6d8 (diff) | |
| download | rust-bee151308d5c5090627772c04e17f783aa53451a.tar.gz rust-bee151308d5c5090627772c04e17f783aa53451a.zip | |
codegen/mir: support polymorphic `InstanceDef`s
This commit modifies the use of `subst_and_normalize_erasing_regions` on parts of the MIR bodies returned from `instance_mir`, so that `InstanceDef::CloneShim` and `InstanceDef::DropGlue` (where there is a type) do not perform substitutions. This avoids double substitutions and enables polymorphic `InstanceDef`s. Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
