about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-09-06 15:48:33 +0200
committerDavid Wood <david@davidtw.co>2018-09-18 13:51:41 +0200
commit783bad4295f0eca1598572cee9f7171562f8e673 (patch)
tree8b23431c044ff46d010a87a8830b1e59a1fae122 /src/rustllvm/CoverageMappingWrapper.cpp
parent874e08bdd802f527bc1e1e2c41442796e4d44c6b (diff)
downloadrust-783bad4295f0eca1598572cee9f7171562f8e673.tar.gz
rust-783bad4295f0eca1598572cee9f7171562f8e673.zip
De-duplicate moved variable errors.
By introducing a new map that tracks the errors reported and the
`Place`s that spawned those errors against the move out that the error
was referring to, we are able to silence duplicate errors by emitting
only the error which corresponds to the most specific `Place` (that which
other `Place`s which reported errors are prefixes of).

This generally is an improvement, however there is a case -
`liveness-move-in-while` - where the output regresses.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions