Module imports

Source
Expand description

A bunch of methods and structures more or less related to resolving imports.

Structsยง

ImportData ๐Ÿ”’
One import.
NameResolution ๐Ÿ”’
Records information about the resolution of a name in a namespace of a module.
UnresolvedImportError ๐Ÿ”’
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ยง

ImportKind ๐Ÿ”’
Contains data for specific kinds of imports.

Functionsยง

import_kind_to_string ๐Ÿ”’
import_path_to_string ๐Ÿ”’
pub_use_of_private_extern_crate_hack ๐Ÿ”’

Type Aliasesยง

Import ๐Ÿ”’
All imports are unique and allocated on a same arena, so we can use referential equality to compare them.
Res ๐Ÿ”’