about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorCristian Kubis <cristian.kubis@tsunix.de>2019-08-31 18:50:22 +0200
committerCristian Kubis <cristian.kubis@tsunix.de>2019-08-31 18:53:14 +0200
commit8bc1ded805ba25db8c926786946b71ea7a0c6ef8 (patch)
tree0beac1797edbc0debf3e688d9294418f6e4932a3 /src/test/incremental/thinlto
parenta3fcaee5620d458af22682097c4ffb64b57c3327 (diff)
downloadrust-8bc1ded805ba25db8c926786946b71ea7a0c6ef8.tar.gz
rust-8bc1ded805ba25db8c926786946b71ea7a0c6ef8.zip
Fix incorrect swap suggestion
Clippy suggests using swap on fields belonging to the same owner
causing two mutable borrows of the owner

Fixes #981

Signed-off-by: Cristian Kubis <cristian.kubis@tsunix.de>
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions