pub fn build(&mut self, tcx: &ty::ctxt<'tcx>, krate: &Crate, export_map: &PublicItems) {
        let mut annotator = Annotator {
            tcx: tcx,
            index: self,
            parent: None,
            export_map: export_map,
        };
        annotator.annotate(ast::CRATE_NODE_ID, true, &krate.attrs, krate.span,
                           |v| visit::walk_crate(v, krate), true);
    }
/// Construct the stability index for a crate being compiled.
Construct the stability index for a crate being compiled.
Construct the stability index for a crate being compiled .
pub fn build(&mut self, tcx: &ty::ctxt<'tcx>, krate: &Crate, export_map: &PublicItems) {
        let mut annotator = Annotator {
            tcx: tcx,
            index: self,
            parent: None,
            export_map: export_map,
        };
        annotator.annotate(ast::CRATE_NODE_ID, true, &krate.attrs, krate.span,
                           |v| visit::walk_crate(v, krate), true);
    }
pub fn build ( & mut self , tcx : & ty :: ctxt < ' tcx > , krate : & Crate , export_map : & PublicItems ) { let mut annotator = Annotator { tcx : tcx , index : self , parent : None , export_map : export_map , } ; annotator . annotate ( ast :: CRATE_NODE_ID , true , & krate . attrs , krate . span , | v | visit :: walk_crate ( v , krate ) , true ) ; }
Construct the stability index for a crate being compiled.
Construct the stability index for a crate being compiled .
&mut self
tcx
&ty::ctxt<'tcx>
krate
&Crate
export_map
&PublicItems
&mut self
tcx
&ty::ctxt<'tcx>
krate
&Crate
export_map
&PublicItems