diff --git a/crates/hir-def/src/nameres.rs b/crates/hir-def/src/nameres.rs index a2181a6bf41..45f631936d2 100644 --- a/crates/hir-def/src/nameres.rs +++ b/crates/hir-def/src/nameres.rs @@ -511,14 +511,6 @@ pub fn diagnostics(&self) -> &[DefDiagnostic] { self.diagnostics.as_slice() } - pub fn push_diagnostic(&mut self, d: DefDiagnostic) { - self.diagnostics.push(d) - } - - pub fn push_diagnostics(&mut self, i: impl Iterator) { - self.diagnostics.extend(i) - } - pub fn recursion_limit(&self) -> Option { self.recursion_limit }