Vadim Petrochenkov
d11b9165ee
resolve: Preserve reexport chains in ModChild
ren
...
This may be potentially useful for
- avoiding uses of `hir::ItemKind::Use`
- preserving documentation comments on all reexports
- preserving and checking stability/deprecation info on reexports
- all kinds of diagnostics
2023-04-08 13:29:15 +03:00
Vadim Petrochenkov
d8d3b83e3a
rustc: Parameterize ty::Visibility
over used ID
...
It allows using `LocalDefId` instead of `DefId` when possible, and also encode cheaper `Visibility<DefIndex>` into metadata.
2022-09-07 13:35:41 +04:00
Vadim Petrochenkov
179ce18c5c
resolve/metadata: Stop encoding macros as reexports
2022-02-24 22:55:40 +03:00
Vadim Petrochenkov
4b03fd910c
rustc_middle: Rename Export
to ModChild
and add some comments
...
Also rename `module_exports`/`export_map` to `module_reexports`/`reexport_map` for clarity.
2022-01-09 09:22:07 +08:00