Module rustc_middle::metadata
source · Structs
- This structure is supposed to keep enough data to re-create
NameBinding
s 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.DefId
s here correspond touse
andextern crate
items themselves, not their targets.