about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-08-03 22:24:47 +0200
committernils <48135649+Nilstrieb@users.noreply.github.com>2022-08-29 16:27:52 +0200
commit81a583c21e74d600ef8c4b45a3d5088382300e17 (patch)
tree9b6b9133952a871a87f220b34cf2201740c2d6e2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb96fa1a25ced4cfa72923e6d45f47f36c2c00ce0 (diff)
downloadrust-81a583c21e74d600ef8c4b45a3d5088382300e17.tar.gz
rust-81a583c21e74d600ef8c4b45a3d5088382300e17.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions