mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
Nit: remove push_primary_span, which was never called
This commit is contained in:
@@ -316,10 +316,6 @@ pub fn from_spans(vec: Vec<Span>) -> MultiSpan {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn push_primary_span(&mut self, span: Span) {
|
||||
self.primary_spans.push(span);
|
||||
}
|
||||
|
||||
pub fn push_span_label(&mut self, span: Span, label: String) {
|
||||
self.span_labels.push((span, label));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user