about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-09-11 09:48:25 +0000
committerbors <bors@rust-lang.org>2019-09-11 09:48:25 +0000
commit6ca5b2053a6d48d0cf10af1dbbb9b79c9704707a (patch)
tree26110a31a52ffbf3a2ffb37cb8a5b966f08f05a0 /src/test/incremental/thinlto
parentdfa88c68419177c1fa55dba7dbd585564b794e12 (diff)
parent9041856ab9785c8dd97aa47be8798e4126fbd504 (diff)
downloadrust-6ca5b2053a6d48d0cf10af1dbbb9b79c9704707a.tar.gz
rust-6ca5b2053a6d48d0cf10af1dbbb9b79c9704707a.zip
Auto merge of #4478 - tsurai:master, r=flip1995
Fix incorrect swap suggestion

Clippy suggests using swap on fields belonging to the same owner causing two mutable borrows of the owner.

Disclosure: This is my first time working with clippy and rusts HIR. I'm very grateful for assistance and suggestions to improve the PR.

fixes #981
changelog: Fix false positive in `manual_swap` lint
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions