about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-20 22:34:03 +0100
committerGitHub <noreply@github.com>2025-03-20 22:34:03 +0100
commit46594939f4806c4447930fb34d701b9cb8bd14e9 (patch)
tree55bb72b2627df7962dd6cd91b79ba06453d56be8 /compiler/rustc_codegen_llvm/src/common.rs
parentd4218c2934de0319bc6817c1e7c5e969b1f0477e (diff)
parent220851cc75558d06df98c7650b50d59ef2b5e348 (diff)
downloadrust-46594939f4806c4447930fb34d701b9cb8bd14e9.tar.gz
rust-46594939f4806c4447930fb34d701b9cb8bd14e9.zip
Rollup merge of #138727 - compiler-errors:ty-var-origin, r=fmease
Do not rely on `type_var_origin` in `OrphanCheckErr::NonLocalInputType`

The ordering of ty var unification means that we may end up with a root variable whose ty var origin is from another item's params.

Let's not rely on this by just unifying the infer vars with the params of the impl + resolving. It's kinda goofy but it's clearer IMO.

Fixes #132826.

r? ``@fmease`` or ``@lcnr``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions