bors
3da21b089f
Auto merge of #11396 - y21:issue11345, r=Jarcho
...
new lint: `iter_out_of_bounds`
Closes #11345
The original idea in the linked issue seemed to be just about arrays afaict, but I extended this to catch some other iterator sources such as `iter::once` or `iter::empty`.
I'm not entirely sure if this name makes a lot of sense now that it's not just about arrays anymore (specifically, not sure if you can call `.take(1)` on an `iter::Empty` to be "out of bounds"?).
changelog: [`iter_out_of_bounds`]: new lint
2023-08-30 19:51:32 +00:00
..
2023-08-24 21:06:18 +02:00
2023-08-04 13:17:39 +02:00
2023-08-11 14:05:13 +02:00
2023-08-14 21:43:56 +00:00
2023-08-30 19:51:32 +00:00
2023-08-28 18:27:53 +00:00
2023-07-28 22:21:41 +02:00
2023-08-14 21:43:56 +00:00
2023-08-11 14:05:13 +02:00
2023-07-31 23:53:53 +02:00
2023-07-31 23:53:53 +02:00
2023-08-18 18:57:14 +02:00
2023-08-30 19:51:32 +00:00
2023-08-14 21:43:56 +00:00
2023-08-25 19:15:44 +08:00
2023-08-11 14:05:13 +02:00
2023-08-25 19:50:51 -04:00
2023-08-18 18:27:10 +02:00
2023-07-31 23:53:53 +02:00
2023-08-11 14:05:13 +02:00
2023-08-18 18:27:10 +02:00
2023-07-31 23:53:53 +02:00
2023-08-24 23:44:17 +02:00
2023-08-11 14:05:13 +02:00
2023-08-23 17:06:55 +02:00
2023-07-31 23:53:53 +02:00
2023-08-04 13:17:39 +02:00
2023-08-04 13:17:39 +02:00
2023-07-31 23:53:53 +02:00
2023-08-07 15:54:31 +02:00
2023-07-28 22:21:41 +02:00
2023-08-18 18:27:10 +02:00
2023-07-31 23:53:53 +02:00
2023-08-23 17:06:55 +02:00
2023-07-31 23:53:53 +02:00
2023-08-11 14:05:13 +02:00
2023-08-13 17:09:39 +09:00
2023-08-04 13:17:39 +02:00
2023-07-31 23:53:53 +02:00
2023-08-09 14:17:54 +08:00
2023-08-04 13:17:39 +02:00
2023-08-11 14:05:13 +02:00
2023-08-04 13:17:39 +02:00
2023-08-18 18:27:10 +02:00
2023-08-17 18:06:36 +02:00
2023-07-31 23:53:53 +02:00
2023-08-14 21:43:56 +00:00
2023-08-11 21:16:56 +02:00
2023-08-04 13:17:39 +02:00
2023-08-04 13:17:39 +02:00
2023-07-31 23:53:53 +02:00
2023-08-11 14:05:13 +02:00
2023-08-24 21:06:18 +02:00
2023-08-14 21:43:56 +00:00
2023-08-11 14:05:13 +02:00
2023-08-14 21:43:56 +00:00
2023-08-11 14:05:13 +02:00
2023-08-04 13:17:39 +02:00
2023-07-31 23:53:53 +02:00
2023-08-18 18:27:10 +02:00
2023-08-01 20:04:01 +02:00
2023-08-23 13:46:12 +02:00
2023-08-14 21:43:56 +00:00
2023-07-31 23:53:53 +02:00
2023-07-31 23:53:53 +02:00
2023-08-11 14:05:13 +02:00
2023-08-04 13:17:39 +02:00
2023-08-04 13:17:39 +02:00
2023-08-11 14:05:13 +02:00
2023-08-04 13:17:39 +02:00
2023-08-04 13:17:39 +02:00
2023-08-22 13:15:05 +04:00
2023-07-31 23:53:53 +02:00
2023-08-26 01:10:32 +02:00
2023-08-17 18:06:36 +02:00
2023-08-04 13:17:39 +02:00