about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorEdward Wang <edward.yu.wang@gmail.com>2015-02-12 01:12:57 +0800
committerEdward Wang <edward.yu.wang@gmail.com>2015-02-12 01:12:57 +0800
commit2af968eaa67762cf9237728295433678c488873e (patch)
tree788680619d8fb49ded9d78a73c8391d3c60eb8d0 /src/rustllvm/ExecutionEngineWrapper.cpp
parent1500df8934431dd7842827209528211ae53ded12 (diff)
downloadrust-2af968eaa67762cf9237728295433678c488873e.tar.gz
rust-2af968eaa67762cf9237728295433678c488873e.zip
Eliminate assoc type projection predicate candidate duplicates
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