rust/compiler/rustc_middle/src
Matthias Krüger 6258697445
Rollup merge of #117851 - compiler-errors:uplift-infer-const, r=spastorino
Uplift `InferConst` to `rustc_type_ir`

We need this in `rustc_type_ir` because the canonicalizer must understand the difference between a const vid and an effect vid. In that way, it's not an implementation detail of the representation of an infer const, but just part of the type ir.

If we find out later on that it's better to leave the representation up to the consumer of `rustc_type_ir`, we could abstract `InferConst` (and probably `InferTy` as well) with some traits, but I don't see the benefit of that indirection currently.
2023-11-20 20:56:41 +01:00
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir Auto merge of #116849 - oli-obk:error_shenanigans, r=cjgillot 2023-10-23 09:59:40 +00:00
hooks Rename hook. 2023-11-01 16:49:18 +00:00
infer finish RegionKind rename 2023-11-14 13:13:27 +00:00
middle finish RegionKind rename 2023-11-14 13:13:27 +00:00
mir Rollup merge of #117835 - Nilstrieb:note-object-lifetime-defaults, r=compiler-errors 2023-11-20 20:56:40 +01:00
query Add documentation for some queries 2023-11-19 17:26:24 +01:00
thir Visit patterns in THIR let expressions 2023-11-06 16:23:09 +00:00
traits Auto merge of #117278 - lcnr:try-normalize-ty, r=compiler-errors 2023-11-17 10:16:41 +00:00
ty Rollup merge of #117851 - compiler-errors:uplift-infer-const, r=spastorino 2023-11-20 20:56:41 +01:00
util Merge ExternProviders into the general Providers struct 2023-09-22 20:15:34 +00:00
arena.rs use global cache when computing proof trees 2023-11-02 10:41:27 +01:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
lint.rs Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
macros.rs Rename CloneLiftImpls as TrivialLiftImpls. 2023-09-18 09:37:09 +10:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
values.rs make LayoutError::Cycle carry ErrorGuaranteed 2023-11-12 18:59:18 +00:00