about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-10-02 20:42:21 +0530
committerGitHub <noreply@github.com>2022-10-02 20:42:21 +0530
commitf3ab5a66a93d00da8764057f1503486b8a2516b3 (patch)
treeec0fa413a8739eed066c27334e5a024c0409087f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parented9740846b8fc813a763778e792589c17b359b45 (diff)
parentc321933e22952ec712f770340c674b1f5ccc03ed (diff)
downloadrust-f3ab5a66a93d00da8764057f1503486b8a2516b3.tar.gz
rust-f3ab5a66a93d00da8764057f1503486b8a2516b3.zip
Rollup merge of #102538 - cjgillot:def-span-ctxt, r=fee1-dead
Give `def_span` the same SyntaxContext as `span_with_body`.

https://github.com/rust-lang/rust/issues/102217

I'm not sure how to add a test, since the erroneous span was crafted using a proc macro.
The debug assertion in `def_span` will ensure we have the correct behaviour.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions