rust/src/librustc/middle/traits
Edward Wang 2af968eaa6 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
2015-02-12 01:12:57 +08:00
..
coherence.rs Switch missing_copy_implementations to default-allow 2015-02-03 23:31:07 -08:00
doc.rs Simplify cache selection by just using the local cache whenever there 2015-02-06 19:11:50 -05:00
error_reporting.rs Update to last version, remove "[]" as much as possible 2015-02-06 12:03:46 +01:00
fulfill.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
mod.rs Eliminate assoc type projection predicate candidate duplicates 2015-02-12 01:12:57 +08:00
object_safety.rs for x in xs.iter() -> for x in &xs 2015-02-02 13:40:18 -05:00
project.rs Eliminate assoc type projection predicate candidate duplicates 2015-02-12 01:12:57 +08:00
select.rs rollup merge of #21353: sanxiyn/upvar 2015-02-10 08:39:51 -08:00
util.rs Rollup merge of #21968 - nikomatsakis:issue-21965-duplicate-preds-in-env, r=pnkfelix 2015-02-06 16:21:13 +05:30