pub fn resolve_crate(&mut self, krate: &Crate) {
        let _prof_timer = self.session.prof.generic_activity("resolve_crate");

        ImportResolver { r: self }.finalize_imports();
        self.finalize_macro_resolutions();

        self.late_resolve_crate(krate);

        self.check_unused(krate);
        self.report_errors(krate);
        self.crate_loader.postprocess(krate);
    }
/// Entry point to crate resolution.
Entry point to crate resolution.
Entry point to crate resolution .
pub fn resolve_crate(&mut self, krate: &Crate) {
        let _prof_timer = self.session.prof.generic_activity("resolve_crate");
        ImportResolver { r: self }.finalize_imports();
        self.finalize_macro_resolutions();
        self.late_resolve_crate(krate);
        self.check_unused(krate);
        self.report_errors(krate);
        self.crate_loader.postprocess(krate);
    }
pub fn resolve_crate ( & mut self , krate : & Crate ) { let _prof_timer = self . session . prof . generic_activity ( " " ) ; ImportResolver { r : self } . finalize_imports ( ) ; self . finalize_macro_resolutions ( ) ; self . late_resolve_crate ( krate ) ; self . check_unused ( krate ) ; self . report_errors ( krate ) ; self . crate_loader . postprocess ( krate ) ; }
Entry point to crate resolution.
Entry point to crate resolution .
&mut self
krate
&Crate
&mut self
krate
&Crate