about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-03-11 19:36:07 +0000
committerDavid Wood <david@davidtw.co>2020-03-12 09:32:15 +0000
commitbee151308d5c5090627772c04e17f783aa53451a (patch)
treef553bb854b7ffebfc10ba837c6b7cb943f4198a7 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent303d8aff6092709edd4dbd35b1c88e9aa40bf6d8 (diff)
downloadrust-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