about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorGurinder Singh <frederick.the.fool@gmail.com>2023-10-09 08:04:00 +0530
committerGurinder Singh <frederick.the.fool@gmail.com>2023-10-09 08:04:00 +0530
commit23a3b9e44926aa0d4c49a722654ef59f010b55ba (patch)
tree874639d93b8390f1163e4e1926f5caf61f5e3c65 /compiler/rustc_mir_transform/src/coverage/graph.rs
parent6683f13fa1ba91ab84dd5bc5bc21965a1b0530e1 (diff)
downloadrust-23a3b9e44926aa0d4c49a722654ef59f010b55ba.tar.gz
rust-23a3b9e44926aa0d4c49a722654ef59f010b55ba.zip
Fix suggestion span involving wrongly placed generic arg on enum variants
When the variant and the (wrongly placed) args are at separate
source locations such as being in different macos or one in a macro and
the other somwhere outside of it, the arg spans we computed spanned
the entire distance between such locations and were hence invalid.
.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions