about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-13 12:52:08 +0000
committerbors <bors@rust-lang.org>2022-07-13 12:52:08 +0000
commitf78292a4ad8dc0aa625bfd87bf473fa5d744730d (patch)
treeec29a427a415ed40ab74a92b758fb6cf58d30fcd /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent07ab0e87417e8cea018a34c7cd46fde0693d32a5 (diff)
parent852c38c543d4b2cdea4af9fe8d5ddf229ebd1410 (diff)
downloadrust-f78292a4ad8dc0aa625bfd87bf473fa5d744730d.tar.gz
rust-f78292a4ad8dc0aa625bfd87bf473fa5d744730d.zip
Auto merge of #9156 - Rqnsom:manual_flatten, r=Alexendoo
fix [`manual_flatten`] help texts order

fixes  #8948

Whenever suggestion for this lint does not fit in one line,
legacy solution has some unexpected/unhandled behavior:
lint will then generate two help messages which seem to be shown in the wrong order.
The second help message in that case will contain the suggestion.

The first help message always refers to a suggestion message,
and **it should adapt** depending on the location of the suggestion:
- inline suggestion within the error/warning message
- suggestion separated into a second help text

This is my first contribution here, so I hope I didn't miss anything for creating this PR.

changelog: fix [`manual_flatten`] help texts order
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions