bors
c06b2b9117
Auto merge of #113847 - SparrowLii:path_clone, r=cjgillot
...
avoid clone path prefix when lowering to hir
Found this while trying to parallelize `lower_to_hir`.
When lowering to hir, `Nested` paths in `ast` will be split and the prefix segments will be cloned. This could be omited, since the only consequence is that the prefix segments in `Path`s in hir will have the same `HirId`s, and it seems harmless.
This simplifies the process of lowering to hir and avoids re-modification of `ResolverAstLowering`.
r? `@Aaron1011`
cc #99292
2023-07-21 11:02:47 +00:00
..
2023-07-14 17:48:13 -04:00
2023-07-12 21:38:55 -04:00
2023-07-21 11:02:47 +00:00
2023-07-11 01:19:11 +02:00
2023-07-16 19:22:03 +08:00
2023-07-17 21:04:12 +00:00
2023-07-16 15:33:29 -07:00
2023-07-18 18:58:18 +08:00
2023-07-21 06:52:27 +02:00
2023-07-21 06:52:28 +02:00
2023-07-21 06:52:28 +02:00
2023-07-16 16:07:55 +02:00
2023-07-14 10:10:15 +02:00
2023-07-21 06:52:28 +02:00
2023-07-18 09:20:25 -04:00
2023-07-19 14:10:07 +00:00
2023-07-20 09:51:47 +00:00
2023-07-20 09:51:47 +00:00
2023-07-16 19:22:03 +08:00
2023-07-17 14:56:33 +00:00
2023-07-20 18:45:09 +00:00
2023-07-19 16:38:35 +00:00
2023-07-12 21:49:27 -04:00
2023-07-12 21:49:27 -04:00
2023-07-19 09:44:40 +00:00
2023-07-21 06:52:27 +02:00
2023-07-18 19:06:04 +02:00
2023-07-18 09:52:08 +08:00
2023-07-21 06:52:28 +02:00
2023-07-12 21:49:27 -04:00
2023-07-20 09:00:10 +00:00
2023-07-20 18:45:09 +00:00
2023-07-19 16:38:35 +00:00
2023-07-19 09:59:12 +00:00
2023-07-21 09:14:55 +00:00
2023-07-19 07:23:11 +10:00
2023-07-20 09:51:47 +00:00
2023-07-19 16:37:09 +00:00
2023-07-16 19:22:03 +08:00
2023-07-14 13:27:35 +01:00
2023-07-20 03:18:41 +00:00
2023-07-19 16:38:35 +00:00
2023-07-21 07:24:27 +00:00
2023-07-19 11:05:21 -03:00
2023-07-19 16:38:35 +00:00
2023-07-14 13:27:35 +01:00
2023-07-18 18:58:18 +08:00
2023-07-20 20:34:06 +00:00
2023-07-14 13:27:35 +01:00
2023-07-18 09:07:32 +00:00
2023-07-18 19:06:03 +02:00
2023-07-14 13:27:35 +01:00