]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #32344 - aturon:issue-32324, r=eddyb
authorbors <bors@rust-lang.org>
Mon, 21 Mar 2016 00:48:09 +0000 (17:48 -0700)
committerbors <bors@rust-lang.org>
Mon, 21 Mar 2016 00:48:09 +0000 (17:48 -0700)
Fix mis-uses of projection mode

A couple of places where we construct a fresh inference context were
incorrectly assuming that we were past coherence checking. This commit
corrects them to use `Topmost` rather than `AnyFinal` as the projection mode.

Fixes #32324

r? @nikomatsakis


Trivial merge