Dylan DPC
89d661f15d
Rollup merge of #70857 - faern:use-assoc-int-float-consts, r=dtolnay
...
Don't import integer and float modules, use assoc consts 2
Follow up to #70777 . I missed quite a lot of places. Partially because I wanted to keep the size of the last PR down, and partially because my regexes were not good enough :)
r? @dtolnay
2020-04-07 14:46:59 +02:00
Linus Färnstrand
f7778d36c7
Use assoc integer constants in librustc_*
2020-04-07 00:43:16 +02:00
Eduard-Mihai Burtescu
626abc7977
ty: remove `{Existential,}Trait{Ref,Predicate}::input_types`.
2020-04-06 21:55:51 +03:00
Eduard-Mihai Burtescu
3410aeddbe
ty: switch `Ty::walk` from `Ty` to `GenericArg`.
2020-04-06 21:55:50 +03:00
Mazdak Farrokhzad
124144704f
nix rustc_target::abi::* reexport in ty::layout
2020-04-02 13:40:43 +02:00
Mazdak Farrokhzad
1ccb0b4a02
rustc -> rustc_middle part 3 (rustfmt)
2020-03-30 07:19:55 +02:00
Mazdak Farrokhzad
0cb9e36090
rustc -> rustc_middle part 2
2020-03-30 07:16:56 +02:00
Mazdak Farrokhzad
b514c42e7b
trait_bound_spans -> sized_trait_bound_spans
2020-03-26 09:59:07 +01:00
Mazdak Farrokhzad
b60d732efe
rustc_hir: nix rustc_errors dep
2020-03-24 06:22:27 +01:00
Matthias Krüger
263cbd1bbe
remove redundant closures (clippy::redundant_closure)
2020-03-22 12:43:19 +01:00
Eduard-Mihai Burtescu
f3ec069886
rustc: use LocalDefId instead of DefIndex in HirId.
2020-03-19 11:16:08 +02:00
Camille GILLOT
0535dd3721
Split librustc_infer.
2020-03-14 14:17:13 +01:00
Camille GILLOT
c1e3d556bf
Move rustc_infer::traits to new crate rustc_trait_selection.
2020-03-14 14:15:50 +01:00