bors
70c46de012
Auto merge of #5877 - ebroto:5872_loops_ice, r=Manishearth
...
Fix ICE in `loops` module
changelog: Fix ICE related to `needless_collect` when a call to `iter()` was not present.
I went for restoring the old suggestion of `next().is_some()` over `get(0).is_some()` given that `iter()` is not necessarily present (could be e.g. `into_iter()` or `iter_mut()`) and that the old suggestion could change semantics, e.g. a call to `filter()` could be present between `iter()` and the collect part.
Fixes #5872
2020-08-08 18:44:48 +00:00
..
2020-06-23 17:05:22 +02:00
2020-07-14 14:59:59 +02:00
2020-08-08 18:13:43 +02:00
2020-07-11 09:22:17 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-08-03 00:36:28 +02:00
2020-08-03 00:36:28 +02:00
2020-06-23 17:05:22 +02:00
2020-06-23 17:05:22 +02:00
2020-06-10 01:35:47 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-26 23:30:00 -06:00
2020-07-26 23:04:25 -06:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-08-02 23:20:00 +08:00
2020-06-23 17:05:22 +02:00
2020-06-10 01:35:47 +00:00
2020-06-10 01:35:47 +00:00
2020-07-29 22:14:19 +02:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-07-26 21:07:07 +02:00
2020-07-25 17:11:55 +03:00
2020-07-25 17:11:55 +03:00
2020-07-25 17:11:55 +03:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-23 17:05:22 +02:00
2020-06-23 17:05:22 +02:00
2020-06-23 17:05:22 +02:00
2020-08-03 00:36:28 +02:00
2020-08-03 00:36:28 +02:00
2020-08-03 00:36:28 +02:00
2020-07-31 00:28:21 +03:00
2020-07-31 00:28:21 +03:00
2020-07-31 00:28:21 +03:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-08-02 21:46:18 -07:00
2020-08-02 21:46:18 -07:00
2020-08-08 18:13:43 +02:00
2020-08-08 18:13:43 +02:00
2020-08-08 18:13:43 +02:00
2020-07-10 07:39:28 -04:00
2020-07-26 21:07:07 +02:00
2020-07-14 14:59:59 +02:00
2020-06-09 14:36:01 +00:00
2020-07-26 21:07:07 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-07-03 00:04:48 +03:00
2020-07-03 00:04:48 +03:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-08 18:37:20 +02:00
2020-07-08 18:37:20 +02:00
2020-07-08 18:37:20 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-06-28 10:08:12 -07:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-06-23 17:05:22 +02:00
2020-06-23 17:05:22 +02:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-07-26 21:07:07 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-08-03 11:17:43 -07:00
2020-08-03 11:17:43 -07:00
2020-08-03 11:17:43 -07:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-07-19 00:00:17 +02:00
2020-07-28 16:42:26 +02:00
2020-07-28 16:42:26 +02:00
2020-08-03 20:48:18 +02:00
2020-08-03 20:48:18 +02:00
2020-08-03 20:48:18 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-14 14:59:59 +02:00
2020-07-14 14:59:59 +02:00
2020-08-03 11:17:43 -07:00
2020-08-03 11:17:43 -07:00
2020-08-03 11:17:43 -07:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-07-14 14:59:59 +02:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-07-26 21:07:07 +02:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00
2020-06-09 14:36:01 +00:00