Function rustc_query_system::query::plumbing::with_diagnostics [−][src]
fn with_diagnostics<F, R>(f: F) -> (R, ThinVec<Diagnostic>) where
F: FnOnce(Option<&Lock<ThinVec<Diagnostic>>>) -> R, fn with_diagnostics<F, R>(f: F) -> (R, ThinVec<Diagnostic>) where
F: FnOnce(Option<&Lock<ThinVec<Diagnostic>>>) -> R,