pub fn load_diagnostics<'a, 'tcx>(&self,
                                      tcx: TyCtxt<'a, 'tcx, 'tcx>,
                                      dep_node_index: SerializedDepNodeIndex)
                                      -> Vec<Diagnostic> {
        let diagnostics: Option<EncodedDiagnostics> = self.load_indexed(
            tcx,
            dep_node_index,
            &self.prev_diagnostics_index,
            "diagnostics");

        diagnostics.unwrap_or(Vec::new())
    }
/// Load a diagnostic emitted during the previous compilation session.
Load a diagnostic emitted during the previous compilation session.
Load a diagnostic emitted during the previous compilation session .
pub fn load_diagnostics<'a, 'tcx>(&self,
                                      tcx: TyCtxt<'a, 'tcx, 'tcx>,
                                      dep_node_index: SerializedDepNodeIndex)
                                      -> Vec<Diagnostic> {
        let diagnostics: Option<EncodedDiagnostics> = self.load_indexed(
            tcx,
            dep_node_index,
            &self.prev_diagnostics_index,
            "diagnostics");
        diagnostics.unwrap_or(Vec::new())
    }
pub fn load_diagnostics < ' a , ' tcx > ( & self , tcx : TyCtxt < ' a , ' tcx , ' tcx > , dep_node_index : SerializedDepNodeIndex ) -> Vec < Diagnostic > { let diagnostics : Option < EncodedDiagnostics > = self . load_indexed ( tcx , dep_node_index , & self . prev_diagnostics_index , " " ) ; diagnostics . unwrap_or ( Vec :: new ( ) ) }
Load a diagnostic emitted during the previous compilation session.
Load a diagnostic emitted during the previous compilation session .
&self
tcx
TyCtxt<'a, 'tcx, 'tcx>
dep_node_index
SerializedDepNodeIndex