Struct rustc_resolve::Resolver
[−]
[src]
pub struct Resolver<'a> {
pub def_map: DefMap,
pub freevars: FreevarMap,
pub export_map: ExportMap,
pub trait_map: TraitMap,
pub make_glob_map: bool,
pub glob_map: GlobMap,
pub maybe_unused_trait_imports: NodeSet,
// some fields omitted
}Unstable (
rustc_private)The main resolver class.
Fields
def_map: DefMap
Unstable (
rustc_private)freevars: FreevarMap
Unstable (
rustc_private)export_map: ExportMap
Unstable (
rustc_private)trait_map: TraitMap
Unstable (
rustc_private)make_glob_map: bool
Unstable (
rustc_private)glob_map: GlobMap
Unstable (
rustc_private)maybe_unused_trait_imports: NodeSet
Unstable (
rustc_private)Methods
impl<'b> Resolver<'b>[src]
fn build_reduced_graph(&mut self, krate: &Crate)
Unstable (
rustc_private)Constructs the reduced graph for the entire crate.
fn populate_module_if_necessary(&mut self, module: Module<'b>)
Unstable (
rustc_private)Ensures that the reduced graph rooted at the given external module is built, building it if it is not.