Files
rust/compiler
Jonathan Brouwer 8880b2ce0e Rollup merge of #156406 - petrochenkov:modata2, r=nnethercote
resolve: Module-related refactorings

Extracted parts of https://github.com/rust-lang/rust/pull/156362 that don't require splitting `(Local,Extern)ModuleData` into separate data structures.

- Some `expect_local` assertions are added
- Methods that need to exist on all of `Module` and `(Local,Extern)Module` are implemented for `ModuleData`
- Methods that need to exist on `ModuleKind` are moved to `ModuleKind`
- Some unnecessary complicated logic using `graph_root` is simplified
-  `glob_importers` are filled and used only for local modules.
- Some unnecessary logic is skipped for extern modules in `resolve_ident_in_module_non_globs_unadjusted`
- Module construction functions are cleaned up
- `module_to_string` is simplified

r? @nnethercote
2026-05-11 10:29:16 +02:00
..
2026-05-04 16:28:58 +00:00
2026-05-04 16:28:58 +00:00
2026-05-07 20:23:37 +03:00
2026-05-07 21:55:44 +03:00
2026-04-08 21:09:07 +02:00
2026-05-07 21:55:44 +03:00