- 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.
- A simplified version of
DefIds here correspond to
extern crateitems themselves, not their targets.