about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-02 18:21:58 +0200
committerGitHub <noreply@github.com>2022-09-02 18:21:58 +0200
commit938897e2e429445dca5a549b5d4eb194a291a7c2 (patch)
treeb8183ee6ccaa30a69ca70623e6724b3ba67e9d0c /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9353538c7bea6edb245457712cec720305c4576e (diff)
parent96d4137deed6c52c6db2dd19568c37d1c160f1e7 (diff)
downloadrust-938897e2e429445dca5a549b5d4eb194a291a7c2.tar.gz
rust-938897e2e429445dca5a549b5d4eb194a291a7c2.zip
Rollup merge of #100121 - Nilstrieb:mir-validator-param-env, r=oli-obk
Try normalizing types without RevealAll in ParamEnv in MIR validation

Before, the MIR validator used RevealAll in its ParamEnv for type
checking. This could cause false negatives in some cases due to
RevealAll ParamEnvs not always use all predicates as expected here.

Since some MIR passes like inlining use RevealAll as well, keep using
it in the MIR validator too, but when it fails usign RevealAll, also
try the check without it, to stop false negatives.

Fixes #99866

cc ````````@compiler-errors```````` who nicely helped me on zulip
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions