about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2020-10-08 21:49:36 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2020-10-21 19:43:20 +0100
commit6c43a649313a2a9d03923598c6a5b260624e8f66 (patch)
tree12c909641338caa4c426dc6cdac7312a4bcb7700 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent22e6b9c68941996daa45786b4145e6196e51f0f4 (diff)
downloadrust-6c43a649313a2a9d03923598c6a5b260624e8f66.tar.gz
rust-6c43a649313a2a9d03923598c6a5b260624e8f66.zip
Fix ICE from projection cycle
Cycles in normalization can cause evaluations to change from Unknown to
Err. This means that some selection that were applicable no longer are.

To avoid this:
* Selection candidates that are known to be applicable are prefered
  over candidates that are not.
* We don't ICE if a candidate is no longer applicable.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions