about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-25 23:37:10 +0200
committerGitHub <noreply@github.com>2023-10-25 23:37:10 +0200
commitf783ce95ec3ac8cf91ccfd3711d8afc9bebcb9b8 (patch)
tree8c16fff10ce6796bea873185ed858a7e805e01d3 /compiler/rustc_codegen_llvm/src
parentd30fe8b4e2bf718a3f951096bae451c1652b79b5 (diff)
parent8f3b4f94ef739b9ad7d4f3cdee6be91f6913938f (diff)
downloadrust-f783ce95ec3ac8cf91ccfd3711d8afc9bebcb9b8.tar.gz
rust-f783ce95ec3ac8cf91ccfd3711d8afc9bebcb9b8.zip
Rollup merge of #117008 - compiler-errors:canonical, r=lcnr
Uplift `Canonical` to `rustc_type_ir`

I plan on moving the new trait solver's canonicalizer into either `rustc_type_ir` or a child crate. One dependency on this is lifting `Canonical<V>` to `rustc_type_ir` so we can actually name the canonicalized values.

I may also later lift `CanonicalVarInfo` into the new trait solver. I can't really tell what other changes need to be done, but I'm just putting this up sooner than later since I'm almost certain it'll need to be done regardless of other design choices.

There are a couple of warts introduced by this PR, since we no longer can define inherent `Canonical` impls in `rustc_middle` -- see the changes to:
* `compiler/rustc_trait_selection/src/traits/query/normalize.rs`
* `compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs`

r? lcnr
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions