Module rustc_resolve::imports

source ยท
Expand description

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


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


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


Type Aliasesยง

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