bors 15226f91bb Auto merge of #10166 - sulami:master, r=giraffate
unused_self: Don't trigger if the method body contains todo!()

If the author is using todo!(), presumably they intend to use self at some point later, so we don't have a good basis to recommend factoring out to an associated function.

Fixes #10117.

---

changelog: Enhancement: [`unused_self`]: No longer lints, if the method body contains a `todo!()` call
[#10166](https://github.com/rust-lang/rust-clippy/pull/10166)
<!-- changelog_checked -->
2023-01-11 00:30:19 +00:00
..
2023-01-08 20:25:42 +01:00
2023-01-08 20:25:42 +01:00
2023-01-08 20:25:42 +01:00
2023-01-02 12:09:26 -05:00
2022-12-18 03:02:45 +03:00
2022-12-18 03:02:45 +03:00
2022-12-20 05:12:13 -05:00
2022-12-20 05:12:13 -05:00
2022-12-20 05:12:13 -05:00
2022-12-23 01:14:07 +03:00
2022-12-23 01:14:07 +03:00
2022-12-23 01:14:07 +03:00
2022-12-20 05:12:13 -05:00
fix
2023-01-05 18:30:13 +09:00
fix
2023-01-05 18:30:13 +09:00
fix
2023-01-05 18:30:13 +09:00
2022-12-24 23:39:54 +01:00
2022-12-24 23:39:54 +01:00