diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-11-20 20:56:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-20 20:56:41 +0100 |
| commit | 625869744561f9a3925ae8a14eb9c5bd2d5b992e (patch) | |
| tree | 0631d8f1a1c33c47df91d3df1ebbfaa1c9a30eb3 /compiler/rustc_mir_transform/src/coverage/query.rs | |
| parent | 87540879f451bd402bba072b4c5144db2031bc2f (diff) | |
| parent | b4c3d7f3fd52941fe4b17afb67da121e642ec609 (diff) | |
| download | rust-625869744561f9a3925ae8a14eb9c5bd2d5b992e.tar.gz rust-625869744561f9a3925ae8a14eb9c5bd2d5b992e.zip | |
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions
