Matthias Krüger
7b7f2f7f74
Rollup merge of #129847 - compiler-errors:async-cycle, r=davidtwco
...
Do not call query to compute coroutine layout for synthetic body of async closure
There is code in the MIR validator that attempts to prevent query cycles when inlining a coroutine into itself, and will use the coroutine layout directly from the body when it detects that's the same coroutine as the one that's being validated. After #128506 , this logic didn't take into account the fact that the coroutine def id will differ if it's the "by-move body" of an async closure. This PR implements that.
Fixes #129811
2024-09-07 23:30:13 +02:00
..
2024-02-16 20:02:50 +00:00
2024-05-12 12:50:18 -04:00
2024-05-12 12:50:18 -04:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-27 17:39:20 +00:00
2024-02-16 20:02:50 +00:00
2024-08-02 17:45:55 -04:00
2024-02-16 20:02:50 +00:00
2024-04-04 19:44:51 -04:00
2024-04-04 19:44:51 -04:00
2024-07-26 12:53:53 -04:00
2024-07-26 12:53:53 -04:00
2024-06-29 17:38:02 -04:00
2024-02-16 20:02:50 +00:00
2024-03-19 16:59:23 -04:00
2024-04-10 10:13:24 -04:00
2024-04-12 12:14:29 -04:00
2024-04-12 12:14:29 -04:00
2024-02-16 20:02:50 +00:00
2024-08-08 14:07:31 -04:00
2024-08-08 14:07:31 -04:00
2024-08-08 14:07:31 -04:00
2024-08-08 14:07:31 -04:00
2024-06-29 17:38:02 -04:00
2024-06-29 17:38:02 -04:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-06-29 17:38:02 -04:00
2024-03-10 21:18:41 -04:00
2024-02-16 20:02:50 +00:00
2024-06-28 20:16:35 -04:00
2024-06-28 20:16:35 -04:00
2024-09-01 11:16:50 -04:00
2024-02-16 20:02:50 +00:00
2024-04-10 13:39:53 -04:00
2024-02-16 20:02:50 +00:00
2024-07-26 12:53:53 -04:00
2024-02-27 17:39:20 +00:00
2024-08-14 13:24:07 -04:00
2024-08-14 13:24:07 -04:00
2024-04-05 17:35:03 -04:00
2024-02-16 20:02:50 +00:00
2024-04-10 13:39:53 -04:00
2024-08-01 18:46:26 -04:00
2024-07-26 12:53:53 -04:00
2024-07-26 12:53:53 -04:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-03-10 21:18:41 -04:00
2024-04-05 16:48:45 -04:00
2024-04-05 16:48:45 -04:00
2024-04-05 15:28:13 -04:00
2024-04-05 15:28:13 -04:00
2024-04-05 15:28:13 -04:00
2024-04-05 15:28:13 -04:00
2024-02-27 17:39:20 +00:00
2024-02-16 20:02:50 +00:00
2024-08-14 15:33:03 -04:00
2024-06-29 17:38:02 -04:00
2024-07-08 12:56:54 -04:00
2024-09-07 07:50:44 -04:00
2024-09-07 07:50:44 -04:00
2024-02-16 20:02:50 +00:00
2024-04-08 19:47:52 -04:00
2024-09-01 06:13:04 -04:00
2024-07-26 12:53:53 -04:00
2024-07-26 12:53:55 -04:00
2024-04-04 19:44:35 -04:00
2024-06-27 15:19:08 -04:00