about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-23 19:17:44 +0000
committerbors <bors@rust-lang.org>2024-09-23 19:17:44 +0000
commitb7ab258a0ea47c020d8e6569e5d8295d8104a513 (patch)
treebf7fa3ca02afda5932a16aee29b8f41c8d28192c /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parentb39323bf255fa79b20f75b7650d64b91d2e0517e (diff)
parent7f30dafa9b669379471f48ba6765c2f20e24dc14 (diff)
downloadrust-b7ab258a0ea47c020d8e6569e5d8295d8104a513.tar.gz
rust-b7ab258a0ea47c020d8e6569e5d8295d8104a513.zip
Auto merge of #13439 - flip1995:empty-line-fix, r=Alexendoo
Use contiguous spans for empty_line_after_* suggestion

Replacing an empty span (which an empty line is) with an empty string triggers a debug assertion in rustc. This fixes the debug assertion by using contiguous spans, with the same resulting suggestion.

r? `@Alexendoo`

This unblocks the sync

changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions