We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87b7797 commit 8f87fcbCopy full SHA for 8f87fcb
1 file changed
crates/hir-def/src/nameres.rs
@@ -511,14 +511,6 @@ impl DefMap {
511
self.diagnostics.as_slice()
512
}
513
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
522
pub fn recursion_limit(&self) -> Option<u32> {
523
self.recursion_limit
524
0 commit comments