Module rustc_resolve::imports

source ·
Expand description

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

Structs

  • ImportData 🔒
    One import.
  • 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.

Enums

  • ImportKind 🔒
    Contains data for specific kinds of imports.

Functions

Type Aliases

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