about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-20 15:36:20 +0100
committerGitHub <noreply@github.com>2025-03-20 15:36:20 +0100
commit3e0497389189e07d355bc15117cfe433f93b315a (patch)
tree8b1b5320b1d770860bbd17d13116b8906de7a492 /compiler/rustc_codegen_llvm/src
parent28fc422f30c80aedfa6c4dc52e3f457846c02856 (diff)
parent220851cc75558d06df98c7650b50d59ef2b5e348 (diff)
downloadrust-3e0497389189e07d355bc15117cfe433f93b315a.tar.gz
rust-3e0497389189e07d355bc15117cfe433f93b315a.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')
0 files changed, 0 insertions, 0 deletions