]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #97077 - ouz-a:Optimize-backend, r=oli-obk
authorYuki Okushi <jtitor@2k36.org>
Mon, 25 Jul 2022 22:14:44 +0000 (07:14 +0900)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 22:14:44 +0000 (07:14 +0900)
commit29892759f6a712b341b35fa66ae485dbe348616f
treef280fdcbe9f88eccf83b8fbabc33160ccda142ae
parentc1647e10adb688cb9e5bb069946daa969d48f326
parent9f00d836af0a02110a0a47f4d4c7c7182f04574f
Rollup merge of #97077 - ouz-a:Optimize-backend, r=oli-obk

Simplify some code that depend on Deref

Now that we can assume #97025 works, it's safe to expect Deref is always in the first place of projections. With this, I was able to simplify some code that depended on Deref's place in projections. When we are able to move Derefer before `ElaborateDrops` successfully we will be able to optimize more places.

r? `@oli-obk`