about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2021-02-13 19:52:12 -0800
committerEsteban Küber <esteban@kuber.com.ar>2021-02-13 19:52:12 -0800
commit04c2454b1ecdf8e8611f291708ef38937288a250 (patch)
tree74d3197cfe1aa13f6a6d0c9a5f01539af2fafbe3 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent178108bf81606a0e25b1066568c2b8c8e0648617 (diff)
downloadrust-04c2454b1ecdf8e8611f291708ef38937288a250.tar.gz
rust-04c2454b1ecdf8e8611f291708ef38937288a250.zip
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/Linker.cpp')
0 files changed, 0 insertions, 0 deletions