about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-11-20 20:56:41 +0100
committerGitHub <noreply@github.com>2023-11-20 20:56:41 +0100
commit625869744561f9a3925ae8a14eb9c5bd2d5b992e (patch)
tree0631d8f1a1c33c47df91d3df1ebbfaa1c9a30eb3 /compiler/rustc_mir_transform/src/coverage/query.rs
parent87540879f451bd402bba072b4c5144db2031bc2f (diff)
parentb4c3d7f3fd52941fe4b17afb67da121e642ec609 (diff)
downloadrust-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