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-01-29 06:14:20 +0100
committerGitHub <noreply@github.com>2023-01-29 06:14:20 +0100
commit5ff6cdca7ec664c7f96653e6c028b524757d60c4 (patch)
tree82e4887950def7221b09bd84282f766e0708224d /compiler/rustc_codegen_llvm/src
parent74655dc50762ec6f28bfedf1e87aea5bdade29eb (diff)
parent832751fe1df232e36b283fa136b4e26475e55c00 (diff)
downloadrust-5ff6cdca7ec664c7f96653e6c028b524757d60c4.tar.gz
rust-5ff6cdca7ec664c7f96653e6c028b524757d60c4.zip
Rollup merge of #107422 - Nilstrieb:erase-the-ice, r=compiler-errors
Also erase substs for new infcx in pin move error

The code originally correctly erased the regions of the type it passed to the newly created infcx. But after the `fn_sig` query was made to return an `EarlyBinder<T>`, some substs that were around were substituted there without erasing their regions. They were then passed into the newly cerated infcx, which caused the ICE.

Fixes #107419

r? compiler-errors who reviewed the original PR adding this diagnostic
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions