rust/compiler/rustc_passes/src
Yuki Okushi 446edd1e1a
Rollup merge of #79951 - LeSeulArtichaut:ty-ir, r=nikomatsakis
Refractor a few more types to `rustc_type_ir`

In the continuation of #79169, ~~blocked on that PR~~.

This PR:
 - moves `IntVarValue`, `FloatVarValue`, `InferTy` (and friends) and `Variance`
 - creates the `IntTy`, `UintTy` and `FloatTy` enums in `rustc_type_ir`, based on their `ast` and `chalk_ir` equilavents, and uses them for types in the rest of the compiler.

~~I will split up that commit to make this easier to review and to have a better commit history.~~
EDIT: done, I split the PR in commits of 200-ish lines each

r? `````@nikomatsakis````` cc `````@jackh726`````
2021-01-28 15:09:02 +09:00
..
liveness Move RWUTable to a separate module 2020-12-09 00:00:00 +00:00
check_attr.rs Separate out a hir::Impl struct 2021-01-12 20:32:33 -05:00
check_const.rs Add loop head span to hir 2021-01-21 21:41:46 -08:00
dead.rs Do not mark unit variants as used when in path pattern 2021-01-23 00:00:00 +00:00
diagnostic_items.rs Use visitor for its very purpose. 2020-11-26 21:32:29 +01:00
entry.rs Formatting. 2020-11-26 21:32:29 +01:00
hir_id_validator.rs Do not visit ForeignItemRef for HIR indexing and validation. 2020-11-28 18:08:17 +01:00
hir_stats.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
intrinsicck.rs Use ty::{IntTy,UintTy,FloatTy} in rustc 2021-01-18 21:09:30 +01:00
lang_items.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
layout_test.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
lib_features.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs Validate use of parameters in naked functions 2020-11-25 00:00:00 +00:00
liveness.rs Add loop head span to hir 2021-01-21 21:41:46 -08:00
loops.rs Do not suggest using a break label when one is already present 2021-01-21 21:43:29 -08:00
naked_functions.rs Reintroduce hir::ExprKind::If 2021-01-07 18:54:12 -03:00
reachable.rs Allow to query the HIR crate node. 2021-01-23 13:58:09 +01:00
region.rs Add loop head span to hir 2021-01-21 21:41:46 -08:00
stability.rs Only inherit const stability for methods of impl const Trait blocks 2021-01-18 11:07:35 +00:00
upvars.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
weak_lang_items.rs This should address issue 81294. 2021-01-25 14:37:27 -05:00