Expand description
A bunch of methods and structures more or less related to resolving imports.
ModulesΒ§
- cycle_
detection π
StructsΒ§
- Import
Data π - One import.
- Import
Resolution π - Name
Resolution π - Records information about the resolution of a name in a namespace of a module.
- Unresolved
Import πError - An error that may be transformed into a diagnostic later. Used to combine multiple unresolved import errors within the same use tree into a single diagnostic.
EnumsΒ§
- Import
Kind π - Contains data for specific kinds of imports.
- Import
Resolution πKind - Pending
Decl π - A potential import declaration in the process of being planted into a module.
Also used for lazily planting names from
--externflags to extern prelude.
FunctionsΒ§
- import_
kind_ πto_ string - import_
path_ πto_ string - pub_
use_ πof_ private_ extern_ crate_ hack - remove_
same_ πimport - Removes identical import layers from two declarations.
Type AliasesΒ§
- Import π
Internedis used because values of this type have βidentityβ and compare as unequal even if they have the same contents.- Name
Resolution πRef Internedis used because values of this type have βidentityβ and compare as unequal even if they have the same contents.