about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-21 19:48:31 +0100
committerGitHub <noreply@github.com>2022-03-21 19:48:31 +0100
commite41e510c7f2ef36b324bf9bfe4947383a290baf8 (patch)
tree9c12ed5f06471c36842ffe8af30b3e69bd20084d /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parente3557e244e08223c4821ac465db4c0e4fe6698e7 (diff)
parentbe566f11857f7f1f33854e01911fc46e861a2b25 (diff)
downloadrust-e41e510c7f2ef36b324bf9bfe4947383a290baf8.tar.gz
rust-e41e510c7f2ef36b324bf9bfe4947383a290baf8.zip
Rollup merge of #95085 - ouz-a:master5, r=jackh726
Return err instead of ICE

Having `escaping_bound_vars` results in ICE when trying to create `ty::Binder::dummy`, to avoid it we return err like the line above. I think this requires a more sophisticated fix, I would love to investigate if mentorship is available 🤓

Fixes #95023 and #85350
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions