Remove DiagnosticBuilder::buffer
.
All its uses have been removed.
This commit is contained in:
parent
6656413a5c
commit
4fd1db1aa5
1 changed files with 0 additions and 5 deletions
|
@ -264,11 +264,6 @@ impl<'a, G: EmissionGuarantee> DiagnosticBuilder<'a, G> {
|
|||
self.take_diag()
|
||||
}
|
||||
|
||||
/// Buffers the diagnostic for later emission.
|
||||
pub fn buffer(self, buffered_diagnostics: &mut Vec<Diagnostic>) {
|
||||
buffered_diagnostics.push(self.into_diagnostic());
|
||||
}
|
||||
|
||||
/// Delay emission of this diagnostic as a bug.
|
||||
///
|
||||
/// This can be useful in contexts where an error indicates a bug but
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue