]> git.lizzy.rs Git - rust.git/commit
Auto merge of #22028 - nikomatsakis:issue-22019-caching, r=aturon
authorbors <bors@rust-lang.org>
Tue, 10 Feb 2015 13:23:29 +0000 (13:23 +0000)
committerbors <bors@rust-lang.org>
Tue, 10 Feb 2015 13:23:29 +0000 (13:23 +0000)
commit88d8ba5ab3b1d22288b021708c3d87464e43b880
tree46f6a1b2f413e8e49137fa2eed162832ba6e8ce7
parent94c06a1be0ccfcf1a8e105fc98d126de372dbd40
parentacaad3ad675004c63f73e385f7d07153e0aceb4e
Auto merge of #22028 - nikomatsakis:issue-22019-caching, r=aturon

Simplify cache selection by just using the local cache whenever there
are any where-clauses at all. This seems to be the simplest possible
rule and will (hopefully!) put an end to these annoying "cache leak"
bugs. Fixes #22019.

r? @aturon
src/librustc/middle/traits/select.rs