about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-25 14:33:56 +0100
committerGitHub <noreply@github.com>2021-02-25 14:33:56 +0100
commit568ae3aee7be10d4439486686cad186b3df2446e (patch)
treed1588d12ef0c774a8bb0e0d0aacc5e3a2c505443 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf891af9de529f7df8d094e130dd6f35fe07b4d78 (diff)
parent04c2454b1ecdf8e8611f291708ef38937288a250 (diff)
downloadrust-568ae3aee7be10d4439486686cad186b3df2446e.tar.gz
rust-568ae3aee7be10d4439486686cad186b3df2446e.zip
Rollup merge of #82087 - estebank:abolish-ice, r=oli-obk
Fix ICE caused by suggestion with no code substitutions

Change suggestion logic to filter and checking _before_ creating
specific resolution suggestion.

Assert earlier that suggestions contain code substitions to make it
easier in the future to debug invalid uses. If we find this becomes too
noisy in the wild, we can always make the emitter resilient to these
cases and remove the assertions.

Fix #78651.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions