rust/compiler/rustc_middle/src/ty
bors 2eb4fc800a Auto merge of #78323 - est31:smaller_list_overlap, r=varkor
Iterate over the smaller list

If there are two lists of different sizes,
iterating over the smaller list and then
looking up in the larger list is cheaper
than vice versa, because lookups scale
sublinearly.
2020-10-28 03:58:32 +00:00
..
consts mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
inhabitedness Remove unused code from rustc_middle 2020-10-14 04:14:32 +02:00
print Prefer to use print_def_path 2020-10-22 14:40:09 +09:00
query Retire rustc_dep_node_try_load_from_on_disk_cache. 2020-10-22 23:04:46 +02:00
_match.rs map_bound_ref -> rebind 2020-10-16 14:29:21 -04:00
adjustment.rs Reduce boilerplate with the matches! macro 2020-09-21 05:28:40 +02:00
binding.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
cast.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
codec.rs Remove unused code from rustc_middle 2020-10-14 04:14:32 +02:00
consts.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
context.rs Don't generate multiple impl blocks 2020-10-24 11:55:00 +02:00
diagnostics.rs Reduce boilerplate with the matches! macro 2020-09-21 05:28:40 +02:00
erase_regions.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
error.rs Add more .await suggestions on E0308 2020-10-23 08:06:41 -07:00
fast_reject.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
flags.rs guard against skip_binder errors during FlagComputation 2020-09-18 22:24:53 +02:00
fold.rs move visit_predicate into TypeVisitor 2020-10-23 13:58:32 +02:00
instance.rs Lift: take self by value 2020-10-21 23:59:35 +02:00
layout.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
list.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mod.rs Auto merge of #78323 - est31:smaller_list_overlap, r=varkor 2020-10-28 03:58:32 +00:00
normalize_erasing_regions.rs Replace absolute paths with relative ones 2020-10-13 14:16:45 +02:00
outlives.rs Address comments 2020-10-14 00:17:42 -04:00
relate.rs Suggest expressions that look like const generic arguments should be enclosed in brackets 2020-10-26 21:54:45 +00:00
steal.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
structural_impls.rs move visit_predicate into TypeVisitor 2020-10-23 13:58:32 +02:00
sty.rs Auto merge of #77278 - camelid:use-correct-article, r=estebank 2020-10-19 02:19:21 +00:00
subst.rs Lift: take self by value 2020-10-21 23:59:35 +02:00
trait_def.rs Reimplement for_each_relevant_impl on top of find_map... 2020-10-09 16:56:09 +02:00
util.rs fix Rvalue::ty for ThreadLocalRef 2020-10-19 11:44:28 +02:00
walk.rs MiniSet/MiniMap moved and renamed into SsoHashSet/SsoHashMap 2020-09-26 14:30:05 -05:00