bors 6ca5b2053a 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
2019-09-11 09:48:25 +00:00
..
2019-08-26 10:22:34 +02:00
2019-08-01 07:09:57 +02:00
2019-08-26 15:28:35 +02:00
2019-07-19 07:29:25 +02:00
2019-08-01 07:09:57 +02:00
2019-09-05 00:24:45 +09:00
2019-07-27 22:53:26 +01:00
2019-07-27 22:53:26 +01:00
2019-08-23 09:16:50 +00:00
2019-08-23 09:16:50 +00:00
2019-08-23 09:16:50 +00:00
2019-07-01 15:53:48 +02:00
2019-07-16 21:28:03 +02:00
2019-08-01 22:20:08 +09:00
2019-08-19 20:22:42 +12:00
2019-09-03 18:56:23 +02:00
2019-09-03 18:56:23 +02:00
2019-07-01 07:22:04 +02:00
2019-08-19 05:41:47 +00:00
2019-08-19 05:41:47 +00:00
2019-09-11 08:26:57 +02:00
2019-09-11 08:26:57 +02:00
2019-08-29 17:34:33 +02:00
2019-09-05 22:45:52 +09:00
2019-09-05 22:45:52 +09:00
2019-09-05 22:45:52 +09:00
2019-08-28 07:23:23 +02:00
2019-08-28 07:23:23 +02:00
2019-08-28 07:23:23 +02:00
2019-07-06 12:34:32 +07:00
2019-07-06 12:34:32 +07:00
2019-07-06 12:34:32 +07:00
2019-08-15 22:58:32 +02:00
2019-09-02 14:15:52 +02:00
2019-09-02 14:15:52 +02:00
2019-08-08 20:22:52 +07:00
2019-08-23 05:42:45 +00:00
2019-08-13 21:50:52 +02:00
2019-08-13 21:50:52 +02:00
2019-08-13 21:50:52 +02:00
2019-08-14 19:34:50 +02:00
2019-08-14 19:34:50 +02:00
2019-08-14 19:35:17 +02:00
2019-08-24 22:09:02 +02:00