about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-30 07:00:30 +0100
committerGitHub <noreply@github.com>2022-11-30 07:00:30 +0100
commit0c14551fe55ff009fd1dc178e5c5463a72fa4f71 (patch)
tree7df78696fadd2c85ce8dd5a3af77432acf09f0f0 /compiler/rustc_codegen_llvm/src/errors.rs
parentd38a99078cd3c4dadac1ba8b729ea77e8d1d5a82 (diff)
parent9cd12cdf788e3bc46ff72ec7f77448316cfa64c3 (diff)
downloadrust-0c14551fe55ff009fd1dc178e5c5463a72fa4f71.tar.gz
rust-0c14551fe55ff009fd1dc178e5c5463a72fa4f71.zip
Rollup merge of #104697 - dingxiangfei2009:fix-euv-control-flow, r=oli-obk
Restore control flow on error in EUV

cc `@Nilstrieb`

Fix #104649

Since #98574 refactored a piece of scrutinee memory categorization out as a subroutine, there is a subtle change in handling match arms especially when the categorization process faults and bails. In the correct case, it is not supposed to continue to process the arms any more. This PR restores the original control flow in EUV.

I promise to add a compile-fail test to demonstrate that this indeed fixes the issue after coming back from a nap.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions