rust/src/librustc/middle
bors 2a0ce4a629 Auto merge of #29960 - aturon:dismantle-traitref-subtyping, r=nikomatsakis
Trait references are always invariant, so all uses of subtyping between
them are equivalent to using equality.

Moreover, the overlap check was previously performed twice per impl
pair, once in each direction. It is now performed only once, and
internally uses the equality check.

On glium, a crate that spends some time in coherence, this change sped
up coherence checking by a few percent (not very significant).

r? @nikomatsakis
2015-11-24 19:46:59 +00:00
..
cfg Remove use of RefCell<DefMap> in the simpler parts of pat_util 2015-11-04 20:38:03 -06:00
infer Change TraitRef subtyping checks to equality 2015-11-20 09:34:33 -08:00
traits Change TraitRef subtyping checks to equality 2015-11-20 09:34:33 -08:00
ty Changes to data produced by privacy pass 2015-11-19 14:16:35 +03:00
astconv_util.rs Add docs for ast_ty_to_prim_ty 2015-10-15 20:14:52 +05:30
astencode.rs minor fixes to #[cfg(test)] code 2015-11-18 19:23:29 -05:00
check_const.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
check_loop.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
check_match.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
check_no_asm.rs
check_rvalues.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
check_static_recursion.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
const_eval.rs Auto merge of #29534 - oli-obk:fix/const_fn_eval, r=dotdash 2015-11-20 09:48:11 +00:00
dataflow.rs Use the EntryOrExit variants qualified. 2015-11-24 13:06:12 +01:00
dead.rs Changes to data produced by privacy pass 2015-11-19 14:16:35 +03:00
def_id.rs do not dump extern def-ids with path for now 2015-10-28 18:48:49 -04:00
def.rs Unwrap the RefCell around DefMap 2015-11-04 20:38:03 -06:00
dependency_format.rs
effect.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
entry.rs Port entry code to visit_all_items -- since this was tracking whether 2015-11-18 19:22:18 -05:00
expr_use_visitor.rs Remove use of RefCell<DefMap> in the simpler parts of pat_util 2015-11-04 20:38:03 -06:00
free_region.rs Fix some typos. 2015-10-05 16:48:57 +02:00
implicator.rs
intrinsicck.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
lang_items.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
liveness.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
mem_categorization.rs Auto merge of #29515 - Manishearth:ice-itembody, r=eddyb 2015-11-03 15:19:07 +00:00
pat_util.rs Fix hygiene regression in patterns 2015-11-12 01:49:23 +03:00
privacy.rs Changes to data produced by privacy pass 2015-11-19 14:16:35 +03:00
reachable.rs Changes to data produced by privacy pass 2015-11-19 14:16:35 +03:00
recursion_limit.rs
region.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
resolve_lifetime.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00
stability.rs Auto merge of #29952 - petrochenkov:depr, r=brson 2015-11-23 20:08:49 +00:00
subst.rs
weak_lang_items.rs Port a bunch of code new-visitor; all of these ports were 2015-11-18 19:22:18 -05:00