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:
authorDylan DPC <dylan.dpc@gmail.com>2020-08-11 01:56:38 +0200
committerGitHub <noreply@github.com>2020-08-11 01:56:38 +0200
commit1e41af3c8c3195afc1bffb1a807e05cb31810c9f (patch)
tree5a46c67934212fb9256c99fec2ec09bb95f84dd0 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent2932638d3450d6e9e0d45ff8b5304cc971fe55ad (diff)
parentfd41bdeff0ff56ad2e46b00ca55daafb68a8ea08 (diff)
downloadrust-1e41af3c8c3195afc1bffb1a807e05cb31810c9f.tar.gz
rust-1e41af3c8c3195afc1bffb1a807e05cb31810c9f.zip
Rollup merge of #75337 - davidtwco:polymorphization-75255-fixes, r=eddyb
instance: only polymorphize upvar substs

This PR restricts the substitution polymorphization added in #75255 to only apply to the tupled upvar substitution, rather than all substitutions, fixing a bunch of regressions when polymorphization is
enabled.

Due to an oversight on my part, when landing #75260 and #75255, some tests started failing when polymorphization was enabled that I didn't notice until after landing - this PR fixes the regressions from #75255. #75336 has been filed to make sure that we don't forget to try make this change again in future, as it does enable some optimisations.

r? @lcnr
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions