about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-07-31 04:58:10 +0000
committerbors <bors@rust-lang.org>2017-07-31 04:58:10 +0000
commitf6d7873e93e04ae20b24a401fe46f3f35e31b30d (patch)
treec8bb30356a5b83bfec362bb82b78ac3bc1aa8771 /src/rustllvm/PassWrapper.cpp
parent2789db2720109ade328c87f3502dae7356bd825e (diff)
parent2574f31b9b71cd2b37002dbfc9a818c3cc805498 (diff)
downloadrust-f6d7873e93e04ae20b24a401fe46f3f35e31b30d.tar.gz
rust-f6d7873e93e04ae20b24a401fe46f3f35e31b30d.zip
Auto merge of #43546 - nikomatsakis:issue-43132, r=arielb1
save subobligations in the projection cache

The projection cache explicitly chose not to "preserve" subobligations for projections, since the fulfillment context ought to have been doing so. But for the trait evaluation scheme that causes problems. This PR reproduces subobligations. This has the potential to slow down compilation, but minimal investigation suggests it does not do so.

One hesitation about this PR: I could not find a way to make a standalone test case for #43132 (but admittedly I did not try very hard).

Fixes #43132.

r? @arielb1
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions