/// Entry point to crate resolution.
Entry point to crate resolution.
Entry point to crate resolution .
pub fn resolve_crate(&mut self, krate: &Crate) {
        self.current_module = self.graph_root;
        visit::walk_crate(self, krate);
        check_unused::check_crate(self, krate);
        self.report_privacy_errors();
    }
pub fn resolve_crate ( & mut self , krate : & Crate ) { self . current_module = self . graph_root ; visit :: walk_crate ( self , krate ) ; check_unused :: check_crate ( self , krate ) ; self . report_privacy_errors ( ) ; }
Entry point to crate resolution.
Entry point to crate resolution .
&mut self
krate
&Crate