Expand description
A bunch of methods and structures more or less related to resolving imports.
Structsยง
- Import
Data ๐ - One import.
- 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.
- 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.