diff options
| author | dswij <dharmasw@outlook.com> | 2025-01-10 12:33:19 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-10 12:33:19 +0000 |
| commit | 716a3a477866c3b7070b3f4d0dc4677bcadb4d1e (patch) | |
| tree | b281830731bdfc81419fae9ad7fee33fe0789742 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 5c2601af15c6cba486c5d00a28dc31d8915d26eb (diff) | |
| parent | d8301d762f423b2a08f67319a4178dc2c45bf934 (diff) | |
| download | rust-716a3a477866c3b7070b3f4d0dc4677bcadb4d1e.tar.gz rust-716a3a477866c3b7070b3f4d0dc4677bcadb4d1e.zip | |
Do not intersect spans coming from different contexts (#13942)
The code should not attempt to obtain a snippet by capping the function signature span with its identifier span without checking that they are in the same context. This is the only instance I could identify where placeholders were used instead of the real snippet when running the CI lintcheck. Moreover, the placeholders were not even used, as they snippet was obtained prematurely. Found in the context of #13941 changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
