diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-03-20 17:02:05 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-20 17:02:05 +0900 |
| commit | 9dc699430f55af49a7e4f17de9a4482bfd54d481 (patch) | |
| tree | e38d50b0c02be2668d6cbfe23a212f375564d01d /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 3554f2d9411b0924fea8c78dfa82060b9500f261 (diff) | |
| parent | bee151308d5c5090627772c04e17f783aa53451a (diff) | |
| download | rust-9dc699430f55af49a7e4f17de9a4482bfd54d481.tar.gz rust-9dc699430f55af49a7e4f17de9a4482bfd54d481.zip | |
Rollup merge of #69935 - davidtwco:issue-69925, r=eddyb
codegen/mir: support polymorphic `InstanceDef`s cc #69925 This PR 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. r? @eddyb cc @nikomatsakis
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
