bors 605e9ba3d7 Auto merge of #6179 - flip1995:rewrite_use_self, r=phansch
Rework use_self impl based on ty::Ty comparison #3410 | Take 2

This builds on top of #5531

I already reviewed and approved the commits by `@montrivo.` So only the review of my commits should be necessary.

I would also appreciate your review `@montrivo,` since you are familiar with the challenges here.

Fixes #3410 and Fixes #4143 (same problem)
Fixes #2843
Fixes #3859
Fixes #4734 and fixes #6221
Fixes #4305
Fixes #5078 (even at expression level now 🎉)
Fixes #3881 and Fixes #4887 (same problem)
Fixes #3909

Not yet: #4140 (test added)

All the credit for the fixes goes to `@montrivo.` I only refactored and copy and pasted his code.

changelog: rewrite [`use_self`] lint and fix multiple (8) FPs. One to go.
2021-02-12 06:09:07 +00:00
..
2021-02-09 11:39:20 +03:00
2021-02-09 11:39:20 +03:00
2021-02-09 11:39:20 +03:00
2021-02-09 11:39:20 +03:00
2021-01-18 14:54:58 -06:00
2021-02-09 11:39:20 +03:00
2021-01-18 14:54:58 -06:00
2021-02-06 16:35:38 -06:00
2021-02-05 10:24:32 -06:00
2021-02-09 11:39:20 +03:00
2021-01-18 14:54:58 -06:00
2021-02-09 11:39:20 +03:00
2020-11-26 21:32:27 +01:00
2021-02-01 16:58:31 +01:00
2021-02-09 11:39:20 +03:00
2021-01-21 21:43:28 -08:00
2021-02-09 11:39:20 +03:00
2021-01-18 14:54:58 -06:00
2021-02-09 11:39:20 +03:00
2021-02-02 19:57:08 -08:00
2021-02-09 11:39:20 +03:00
2021-02-01 16:58:31 +01:00
2021-02-07 16:54:09 -08:00
2021-02-09 11:39:20 +03:00
2021-02-09 11:39:20 +03:00
2021-01-16 18:56:37 -05:00
2021-02-08 08:56:33 -06:00
2021-02-09 11:39:20 +03:00
2021-02-10 11:58:21 +01:00
2021-02-01 16:58:31 +01:00