pub fn store_diagnostics(&self,
                             dep_node_index: DepNodeIndex,
                             diagnostics: Vec<Diagnostic>) {
        let mut current_diagnostics = self.current_diagnostics.borrow_mut();
        let prev = current_diagnostics.insert(dep_node_index, diagnostics);
        debug_assert!(prev.is_none());
    }
/// Store a diagnostic emitted during the current compilation session.
/// Anything stored like this will be available via `load_diagnostics` in
/// the next compilation session.
Store a diagnostic emitted during the current compilation session.
Anything stored like this will be available via `load_diagnostics` in
the next compilation session.
Store a diagnostic emitted during the current compilation session . Anything stored like this will be available via ` load_diagnostics ` in the next compilation session .
pub fn store_diagnostics(&self,
                             dep_node_index: DepNodeIndex,
                             diagnostics: Vec<Diagnostic>) {
        let mut current_diagnostics = self.current_diagnostics.borrow_mut();
        let prev = current_diagnostics.insert(dep_node_index, diagnostics);
        debug_assert!(prev.is_none());
    }
pub fn store_diagnostics ( & self , dep_node_index : DepNodeIndex , diagnostics : Vec < Diagnostic > ) { let mut current_diagnostics = self . current_diagnostics . borrow_mut ( ) ; let prev = current_diagnostics . insert ( dep_node_index , diagnostics ) ; debug_assert ! ( prev is_none ( ) ) ; }
Store a diagnostic emitted during the current compilation session.
Store a diagnostic emitted during the current compilation session .
&self
dep_node_index
DepNodeIndex
diagnostics
Vec<Diagnostic>