rust/compiler/rustc_middle/src
bors 8d8135f003 Auto merge of #94876 - b-naber:thir-abstract-const-changes, r=lcnr
Change Thir to lazily create constants

To allow `AbstractConst`s to work with the previous thir changes we made and those we want to make, i.e. to avoid problems due to `ValTree` and `ConstValue` conversions, we instead switch to a thir representation for constants that allows us to lazily create constants.

r? `@oli-obk`
2022-03-24 12:50:00 +00:00
..
dep_graph Adopt let_else in even more places 2022-02-16 22:43:39 +01:00
hir resolve: Fix incorrect results of opt_def_kind query for some built-in macros 2022-02-24 22:54:36 +03:00
infer Inline UnifyKey::index and UnifyKey::from_index 2022-02-15 19:07:06 +01:00
middle rustc_error: make ErrorReported impossible to construct 2022-03-16 10:35:24 -05:00
mir Rollup merge of #94960 - codehorseman:master, r=oli-obk 2022-03-17 22:55:05 +01:00
query dont use a query for lit_to_constant 2022-03-23 20:18:34 +01:00
thir use NonHirLiteral instead of ScalarLiteral, move pattern related code to pat_is_poly in IsThirPolymorphic 2022-03-23 11:34:33 +01:00
traits Properly track ImplObligations 2022-03-24 02:08:49 +00:00
ty Rollup merge of #95225 - compiler-errors:impl-future-generator-ty, r=oli-obk 2022-03-23 22:13:25 +01:00
util Use AddAssign impl 2021-11-09 23:47:36 +01:00
arena.rs Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
lib.rs remove [async output] from impl Future 2022-03-22 19:41:34 -07:00
lint.rs rustc_error: make ErrorReported impossible to construct 2022-03-16 10:35:24 -05:00
macros.rs Rename TypeFolderFallible to FallibleTypeFolder 2021-12-02 16:14:18 +00:00
metadata.rs resolve/metadata: Stop encoding macros as reexports 2022-02-24 22:55:40 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs use NonHirLiteral instead of ScalarLiteral, move pattern related code to pat_is_poly in IsThirPolymorphic 2022-03-23 11:34:33 +01:00