diff options
| author | Philipp Krones <hello@philkrones.com> | 2024-09-23 17:56:32 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2024-09-23 17:56:32 +0200 |
| commit | 7f30dafa9b669379471f48ba6765c2f20e24dc14 (patch) | |
| tree | 00a9d4cbf45ed758fe51532e96ee0cec4cdb1b0e /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | 43e338458168db91b8459735ba6ac0f230d78d92 (diff) | |
| download | rust-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/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
