about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2024-09-23 17:56:32 +0200
committerPhilipp Krones <hello@philkrones.com>2024-09-23 17:56:32 +0200
commit7f30dafa9b669379471f48ba6765c2f20e24dc14 (patch)
tree00a9d4cbf45ed758fe51532e96ee0cec4cdb1b0e /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent43e338458168db91b8459735ba6ac0f230d78d92 (diff)
downloadrust-7f30dafa9b669379471f48ba6765c2f20e24dc14.tar.gz
rust-7f30dafa9b669379471f48ba6765c2f20e24dc14.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions