Module rustc_middle::metadata

source ·

Structs

  • This structure is supposed to keep enough data to re-create NameBindings for other crates during name resolution. Right now the bindings are not recreated entirely precisely so we may need to add more data in the future to correctly support macros 2.0, for example. Module child can be either a proper item or a reexport (including private imports). In case of reexport all the fields describe the reexport item itself, not what it refers to.

Enums

  • A simplified version of ImportKind from resolve. DefIds here correspond to use and extern crate items themselves, not their targets.