A pass that checks to make sure private fields and methods aren’t used
outside their scopes. This pass will also generate a set of exported items
which are available for use externally when compiled as a library.
This module contains types that carry name resolution results from rustc_resolve to a
consumer in another crate (e.g. AST lowering, metadata, or a query).