]> git.lizzy.rs Git - rust.git/commit
distinguish projections from the env/obj-types vs those from
authorNiko Matsakis <niko@alum.mit.edu>
Thu, 22 Oct 2015 16:28:47 +0000 (12:28 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Thu, 22 Oct 2015 20:58:08 +0000 (16:58 -0400)
commit8fa5f09a8ff555fe5ff436e715869ba6139f50ed
treea72f0b54f20e36518707ba2de58c8e03f0375c84
parent83cf3ce4981e2ff1a3d7629665b7ec884adbb9de
distinguish projections from the env/obj-types vs those from
trait definitions, and give prefence to the former. This is consistent
with what we do for selection. It also works around a limitation
that was leading to #28871.
src/librustc/middle/traits/project.rs
src/test/run-pass/issue-28871.rs [new file with mode: 0644]