rust/src/librustc/ty
Zack M. Davis d1cdb02e4d pretty-pretty extremal constants!
While many programmers may intuitively appreciate the significance of
"magic numbers" like −2147483648, Rust is about empowering everyone to
build reliable and efficient software! It's a bit more legible to
print the constant names (even noisy fully-qualified-paths thereof).

The bit-manipulation methods mirror those in
`librustc_mir::hair::pattern::_match::all_constructors`; thanks to the
immortal Varkor for guidance.

Resolves #56393.
2019-08-06 21:00:46 -07:00
..
inhabitedness Fiddle param env through to try_eval_bits in most places 2019-08-05 17:48:05 +02:00
print pretty-pretty extremal constants! 2019-08-06 21:00:46 -07:00
query Do not downgrade NLL errors for bind_by_move_pattern_guards when AST says it is OK. 2019-07-30 06:43:06 +02:00
_match.rs Fiddle param env through to try_eval_bits in most places 2019-08-05 17:48:05 +02:00
adjustment.rs Run rustfmt --file-lines ... for changes from previous commits. 2019-06-14 18:58:32 +03:00
binding.rs move librustc to 2018 2019-02-05 12:45:47 -06:00
cast.rs Use derive macro for HashStable 2019-03-13 00:03:13 +01:00
codec.rs cleanup: Remove extern crate serialize as rustc_serializes 2019-07-23 19:20:16 +03:00
constness.rs Rollup merge of #62019 - jeremystucki:refactoring, r=estebank 2019-06-22 01:42:41 +02:00
context.rs Address review comments 2019-08-02 02:44:36 +01:00
erase_regions.rs Don't use lift to detect local types 2019-06-26 13:04:05 +02:00
error.rs Fiddle param env through to try_eval_bits in most places 2019-08-05 17:48:05 +02:00
fast_reject.rs Remove needless lifetimes 2019-06-21 11:39:28 +02:00
flags.rs Allow usage_of_ty_tykind only in sty 2019-06-24 18:14:53 +02:00
fold.rs Don't use lift to detect local types 2019-06-26 13:04:05 +02:00
instance.rs Unify all uses of 'gcx and 'tcx. 2019-06-14 18:58:23 +03:00
layout.rs Fiddle param env through to try_eval_bits in most places 2019-08-05 17:48:05 +02:00
mod.rs Clear the ParamEnv where its information is irrelevant 2019-08-05 17:48:05 +02:00
outlives.rs Unify all uses of 'gcx and 'tcx. 2019-06-14 18:58:23 +03:00
relate.rs Fiddle param env through to try_eval_bits in most places 2019-08-05 17:48:05 +02:00
steal.rs rustc: rename Mir to mir::Body in comments and to MIR in error strings. 2019-05-29 00:26:56 +03:00
structural_impls.rs CTFE: simplify Value type by not checking for alignment 2019-08-02 23:02:53 +02:00
sty.rs Get rid of one more useless lift invocation 2019-08-05 17:49:40 +02:00
subst.rs cleanup: Remove extern crate serialize as rustc_serializes 2019-07-23 19:20:16 +03:00
trait_def.rs rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-04 12:53:12 +02:00
util.rs Rollup merge of #62585 - pnkfelix:issue-60431-make-struct-tail-normalize-when-possible, r=eddyb 2019-07-13 16:18:37 +02:00
walk.rs Remove needless lifetimes 2019-06-21 11:39:28 +02:00
wf.rs Replace "existential" by "opaque" 2019-08-02 02:44:36 +01:00