Jubilee
f700fb24f3
Rollup merge of #123349 - compiler-errors:async-closure-captures, r=oli-obk
...
Fix capture analysis for by-move closure bodies
The check we were doing to figure out if a coroutine was borrowing from its parent coroutine-closure was flat-out wrong -- a misunderstanding of mine of the way that `tcx.closure_captures` represents its captures.
Fixes #123251 (the miri/ui test I added should more than cover that issue)
r? `@oli-obk` -- I recognize that this PR may be underdocumented, so please ask me what I should explain further.
2024-04-02 23:44:29 -07:00
..
2024-04-01 03:05:55 +01:00
2024-03-27 09:53:23 -04:00
2024-03-27 09:53:23 -04:00
2024-03-29 15:17:11 +01:00
2024-03-29 11:08:11 +00:00
2024-04-01 03:05:55 +01:00
2024-04-02 20:37:39 -04:00
2024-04-01 05:44:45 +01:00
2024-04-02 20:37:39 -04:00
2024-04-02 19:21:44 +00:00
2024-04-02 20:37:39 -04:00
2024-04-02 20:37:39 -04:00
2024-04-02 20:37:39 -04:00
2024-03-31 16:22:38 +00:00
2024-03-26 00:04:03 +00:00
2024-03-24 17:08:15 +01:00
2024-04-02 20:37:40 -04:00
2024-03-29 11:08:11 +00:00
2024-04-02 19:21:44 +00:00
2024-04-02 20:37:39 -04:00
2024-03-27 09:53:23 -04:00
2024-04-02 20:37:39 -04:00
2024-03-25 01:33:46 +00:00
2024-03-29 15:17:11 +01:00
2024-03-28 14:00:08 +00:00
2024-03-29 22:02:07 +01:00
2024-03-23 13:18:33 +01:00
2024-03-26 14:10:25 -04:00
2024-03-30 17:39:43 +03:00
2024-03-28 18:47:26 +01:00
2024-04-03 02:13:07 +00:00
2024-04-01 12:31:27 +00:00
2024-03-23 18:45:05 +01:00
2024-04-02 20:07:49 -04:00
2024-04-01 20:31:19 -04:00
2024-03-28 12:30:52 -04:00
2024-03-29 11:08:11 +00:00
2024-03-29 14:00:21 +00:00
2024-03-31 11:50:41 +02:00
2024-03-22 20:36:21 +01:00
2024-03-26 11:03:23 +00:00
2024-03-28 16:58:03 +08:00
2024-03-30 14:30:50 +01:00
2024-04-02 20:37:39 -04:00
2024-04-02 20:37:39 -04:00
2024-04-02 17:34:42 +00:00
2024-03-26 03:16:41 +00:00
2024-04-03 02:13:07 +00:00
2024-03-27 14:02:15 +00:00
2024-04-02 19:21:44 +00:00
2024-03-28 12:30:52 -04:00
2024-04-02 20:37:39 -04:00