Matthias Krüger
a4adc005a1
Rollup merge of #139127 - compiler-errors:prim-ty-hack, r=oli-obk
...
Fix up partial res of segment in primitive resolution hack
There is a hack in the resolver:
```
// In `a(::assoc_item)*` `a` cannot be a module. If `a` does resolve to a module we
// don't report an error right away, but try to fallback to a primitive type.
```
This fixes up the resolution for primitives which would otherwise resolve to a module, but we weren't also updating the res of the path segment, leading to weird diagnostics.
We explicitly call `self.r.partial_res_map.insert` instead of `record_partial_res` b/c we have recorded a partial res already, and we specifically want to override it.
cc https://github.com/rust-lang/rust/issues/139095#issuecomment-2764371934
2025-04-14 18:15:30 +02:00
..
2025-04-14 18:15:30 +02:00
2025-01-24 01:19:50 +00:00
2024-12-17 19:57:42 +08:00
2024-12-17 19:57:42 +08:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-01-21 16:18:27 +00:00
2025-02-14 00:44:10 -08:00
2025-04-08 23:06:31 +03:00
2025-04-10 09:30:55 +10:00
2025-02-18 13:11:37 -06:00
2025-02-18 13:28:35 -06:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-02-18 13:11:37 -06:00
2025-02-18 13:28:35 -06:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-01-26 21:20:31 +01:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-03-22 11:41:42 +08:00
2025-02-10 20:21:39 +00:00
2025-02-14 00:44:10 -08:00
2024-12-23 22:15:32 +00:00
2025-02-10 20:21:39 +00:00
2025-02-14 00:44:10 -08:00
2025-02-14 00:44:10 -08:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-02-10 20:21:39 +00:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-04-08 23:06:31 +03:00
2024-12-27 19:58:16 +11:00
2025-03-14 19:50:03 +00:00
2024-12-17 19:57:42 +08:00
2025-03-25 17:33:09 +03:00
2024-12-10 18:18:03 +00:00
2025-03-29 19:18:39 -04:00
2025-03-29 19:18:39 -04:00
2025-03-30 04:22:14 +00:00
2025-03-30 04:22:14 +00:00
2025-02-14 00:44:10 -08:00
2025-02-10 20:21:39 +00:00
2024-12-27 19:58:16 +11:00
2025-03-14 19:50:03 +00:00
2025-01-24 01:19:50 +00:00
2025-02-21 00:54:01 +00:00
2025-02-21 00:41:17 +00:00
2025-02-14 00:44:10 -08:00
2025-02-14 00:44:10 -08:00
2025-02-14 00:44:10 -08:00
2025-01-18 08:38:50 +08:00
2025-01-18 08:38:50 +08:00
2025-01-18 08:38:50 +08:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-04-08 23:06:31 +03:00
2025-04-07 19:13:31 +03:00
2025-02-14 00:44:10 -08:00
2025-01-24 01:19:50 +00:00
2025-02-14 00:44:10 -08:00
2025-02-10 20:21:39 +00:00