rust/compiler/rustc_middle/src/ty
Jubilee Young 0e88db7db4 Dogfood {exclusive,half-open} ranges in compiler (nfc)
In particular, this allows us to write more explicit matches that
avoid the pitfalls of using a fully general fall-through case, yet
remain fairly ergonomic. Less logic is in guard cases, more is in
the actual exhaustive case analysis.

No functional changes.
2020-10-28 20:09:20 -07:00
..
consts mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
inhabitedness Dogfood {exclusive,half-open} ranges in compiler (nfc) 2020-10-28 20:09:20 -07:00
print Lift: take self by value 2020-10-21 23:59:35 +02:00
query Auto merge of #77871 - Julian-Wollersberger:less-query-context, r=oli-obk 2020-10-22 12:24:55 +00: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 Auto merge of #78027 - lcnr:lift-by-value, r=varkor 2020-10-21 23:09:38 +00: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 Lift: take self by value 2020-10-21 23:59:35 +02: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 Remove unused code from rustc_middle 2020-10-14 04:14: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 Calculate visibilities once in resolve 2020-10-19 11:57:50 +03: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 use abstract consts when unifying ConstKind::Unevaluated 2020-09-18 17:11:34 +02:00
steal.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
structural_impls.rs review 2020-10-21 23:59:35 +02:00
sty.rs Dogfood {exclusive,half-open} ranges in compiler (nfc) 2020-10-28 20:09:20 -07: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