about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-11 14:02:21 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-11 14:02:21 -0800
commit9675f514efbc08e17fe6008ff553f028f1c574a2 (patch)
tree315705b3ea83867ab7e27bb49b07d0b999272e53 /src/rustllvm/ExecutionEngineWrapper.cpp
parent76a3852b7217cf35c11de3f11d3d7d27bb0b3742 (diff)
parent2af968eaa67762cf9237728295433678c488873e (diff)
downloadrust-9675f514efbc08e17fe6008ff553f028f1c574a2.tar.gz
rust-9675f514efbc08e17fe6008ff553f028f1c574a2.zip
rollup merge of #22185: edwardw/default-methods
When projecting associate types for a trait's default methods, the
trait itself was added to the predicate candidate list twice: one from
parameter environment, the other from trait definition. Then the
duplicates were deemed as code ambiguity and the compiler rejected the
code. Simply checking and dropping the duplicates solves the issue.

Closes #22036
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions