rust/src/librustc/middle
Alex Crichton 9675f514ef 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
2015-02-11 14:02:21 -08:00
..
cfg
infer destructor checker (dropck). 2015-02-11 08:50:27 +01:00
traits Eliminate assoc type projection predicate candidate duplicates 2015-02-12 01:12:57 +08:00
astconv_util.rs
astencode.rs Added DestructionScope variant to CodeExtent, representing the area 2015-02-11 08:50:27 +01:00
check_const.rs
check_loop.rs
check_match.rs Auto merge of #21970 - michaelwoerister:lang-item-call-debug-locs, r=brson 2015-02-08 10:27:58 +00:00
check_rvalues.rs
check_static_recursion.rs
check_static.rs
const_eval.rs Auto merge of #21970 - michaelwoerister:lang-item-call-debug-locs, r=brson 2015-02-08 10:27:58 +00:00
dataflow.rs rustc: Fix a number of stability lint holes 2015-02-11 12:14:59 -08:00
dead.rs rollup merge of #22048: LeoTestard/impl-patterns-used 2015-02-11 14:02:02 -08:00
def.rs
dependency_format.rs
effect.rs
entry.rs Revert #22051 2015-02-11 19:28:02 +02:00
expr_use_visitor.rs
fast_reject.rs
graph.rs rustc: Fix a number of stability lint holes 2015-02-11 12:14:59 -08:00
intrinsicck.rs
lang_items.rs Add core::marker::PhantomData. 2015-02-11 13:51:09 +01:00
liveness.rs Added DestructionScope variant to CodeExtent, representing the area 2015-02-11 08:50:27 +01:00
mem_categorization.rs Added DestructionScope variant to CodeExtent, representing the area 2015-02-11 08:50:27 +01:00
pat_util.rs
privacy.rs
reachable.rs
recursion_limit.rs
region.rs Added DestructionScope variant to CodeExtent, representing the area 2015-02-11 08:50:27 +01:00
resolve_lifetime.rs Added DestructionScope variant to CodeExtent, representing the area 2015-02-11 08:50:27 +01:00
stability.rs rustc: Fix a number of stability lint holes 2015-02-11 12:14:59 -08:00
subst.rs
ty_fold.rs
ty_walk.rs
ty.rs Add core::marker::PhantomData. 2015-02-11 13:51:09 +01:00
weak_lang_items.rs Update to last version, remove "[]" as much as possible 2015-02-06 12:03:46 +01:00