remove push_diagnostic methods
weren't used in the end
This commit is contained in:
parent
87b779756c
commit
8f87fcb179
1 changed files with 0 additions and 8 deletions
|
|
@ -511,14 +511,6 @@ impl DefMap {
|
|||
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<Item = DefDiagnostic>) {
|
||||
self.diagnostics.extend(i)
|
||||
}
|
||||
|
||||
pub fn recursion_limit(&self) -> Option<u32> {
|
||||
self.recursion_limit
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue