bors
28e887fe71
Auto merge of #12488 - Jacherr:issue-11525, r=llogiq
...
Disable `indexing_slicing` for custom Index impls
Fixes https://github.com/rust-lang/rust-clippy/issues/11525
Disables `indexing_slicing` for custom Index impls, specifically any implementations that also do not have a `get` method anywhere along the deref chain (so, for example, it still lints on Vec, which has its `get` method as part of the deref chain).
Thanks `@y21` for pointing me in the right direction with a couple of handy util functions for deref chain and inherent methods, saved a headache there!
changelog: FP: Disable `indexing_slicing` for custom Index impls
2024-05-31 16:42:50 +00:00
..
2024-04-17 09:34:39 -04:00
2024-05-30 23:40:17 +08:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-25 12:03:07 +00:00
2024-05-21 10:39:30 -07:00
2024-05-02 19:42:37 -04:00
2024-05-02 19:42:37 -04:00
2024-05-02 19:42:37 -04:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-05-08 21:37:55 +02:00
2024-05-28 13:38:43 +00:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-04-17 09:34:39 -04:00
2024-04-24 13:12:33 +01:00
2024-04-24 13:12:33 +01:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-04-18 20:42:19 +02:00
2024-04-18 20:42:19 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-04-24 13:12:33 +01:00
2024-04-24 13:12:33 +01:00
2024-05-30 08:34:44 +07:00
2024-05-30 08:34:44 +07:00
2024-05-30 08:34:44 +07:00
2024-05-24 08:44:41 +02:00
2024-05-24 08:44:41 +02:00
2024-05-24 08:44:41 +02:00
2024-05-02 17:26:44 +02:00
2024-05-21 10:39:30 -07:00
2024-04-18 17:48:52 +02:00
2024-05-08 21:37:55 +02:00
2024-05-08 21:37:55 +02:00
2024-05-08 21:37:55 +02:00
2024-05-29 16:21:59 +08:00
2024-05-29 16:21:59 +08:00
2024-05-29 16:21:59 +08:00
2024-04-27 10:54:35 +03:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-04-24 13:12:33 +01:00
2024-04-24 13:12:33 +01:00
2024-05-30 13:15:25 +00:00
2024-05-30 13:15:25 +00:00
2024-05-20 19:21:38 -04:00
2024-05-20 19:21:38 -04:00
2024-05-20 19:21:38 -04:00
2024-05-21 22:21:33 +01:00
2024-05-21 22:21:33 +01:00
2024-05-19 21:41:13 +01:00
2024-04-24 08:05:29 +00:00
2024-04-24 08:05:29 +00:00
2024-04-24 08:05:29 +00:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-27 11:49:10 +08:00
2024-05-27 11:49:10 +08:00
2024-05-27 11:49:10 +08:00
2024-04-24 13:12:33 +01:00
2024-04-24 13:12:33 +01:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 19:42:37 -04:00
2024-05-02 19:42:37 -04:00
2024-05-02 19:42:37 -04:00
2024-04-27 10:54:35 +03:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-05-26 22:56:23 -04:00
2024-05-26 22:56:23 -04:00
2024-05-02 19:42:37 -04:00
2024-05-02 19:42:37 -04:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-02 19:42:37 -04:00
2024-05-02 19:42:37 -04:00
2024-05-21 10:39:30 -07:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-21 10:39:30 -07:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-27 11:49:10 +08:00
2024-05-27 11:49:10 +08:00
2024-05-27 11:49:10 +08:00
2024-04-24 13:12:33 +01:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-30 23:40:17 +08:00
2024-05-30 23:40:17 +08:00
2024-05-30 23:40:17 +08:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-05-22 15:26:32 +08:00
2024-05-22 15:26:32 +08:00
2024-05-22 15:26:32 +08:00
2024-04-24 13:12:33 +01:00
2024-04-24 13:12:33 +01:00
2024-05-18 18:12:18 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-04-27 10:54:35 +03:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-05-23 00:37:02 +08:00
2024-05-23 00:37:02 +08:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-04-27 10:54:35 +03:00
2024-04-25 22:49:58 +03:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-08 21:37:54 +02:00
2024-05-08 21:37:54 +02:00
2024-05-08 21:37:54 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-05-02 17:26:44 +02:00
2024-04-18 17:48:52 +02:00
2024-04-18 17:48:52 +02:00
2024-05-27 12:05:18 +02:00
2024-05-27 12:05:18 +02:00
2024-05-27 12:05:18 +02:00
2024-05-27 12:05:18 +02:00
2024-05-16 19:54:43 +02:00
2024-05-16 19:54:43 +02:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00
2024-05-21 10:39:30 -07:00