Skip to content

Commit 8f87fcb

Browse files
committed
remove push_diagnostic methods
weren't used in the end
1 parent 87b7797 commit 8f87fcb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crates/hir-def/src/nameres.rs

-8
Original file line numberDiff line numberDiff line change
@@ -511,14 +511,6 @@ impl DefMap {
511511
self.diagnostics.as_slice()
512512
}
513513

514-
pub fn push_diagnostic(&mut self, d: DefDiagnostic) {
515-
self.diagnostics.push(d)
516-
}
517-
518-
pub fn push_diagnostics(&mut self, i: impl Iterator<Item = DefDiagnostic>) {
519-
self.diagnostics.extend(i)
520-
}
521-
522514
pub fn recursion_limit(&self) -> Option<u32> {
523515
self.recursion_limit
524516
}

0 commit comments

Comments
 (0)