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>2022-10-28 07:06:43 +0200
committerGitHub <noreply@github.com>2022-10-28 07:06:43 +0200
commit84663cee394a56950dbb11e320e38096e15001c3 (patch)
treea0ea6142376e9ff692c3b914804148d79a56fef2 /compiler/rustc_codegen_llvm/src
parentf541ad91657bb8b3276198e85d60f738da3b7bb8 (diff)
parent4e0c27bbfd263580c971aee1ef6960914e20a7ff (diff)
downloadrust-84663cee394a56950dbb11e320e38096e15001c3.tar.gz
rust-84663cee394a56950dbb11e320e38096e15001c3.zip
Rollup merge of #103641 - compiler-errors:issue-103624, r=cjgillot
Don't carry MIR location in `ConstraintCategory::CallArgument`

It turns out that `ConstraintCategory::CallArgument` cannot just carry a MIR location in it, since we may bubble them up to totally different MIR bodies.

So instead, revert the commit a6b5f95fb028f9feb4a2957c06b35035be2c6155, and instead just erase regions from the original `Option<Ty<'tcx>>` that it carried, so that it doesn't ICE with the changes in #103220.

Best reviewed in parts -- the first is just a revert, and the second is where the meaningful changes happen.

Fixes #103624
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions