Skip to content

Commit 5db4d62

Browse files
committed
Nit: remove push_primary_span, which was never called
1 parent 883b969 commit 5db4d62

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libsyntax/codemap.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,6 @@ impl MultiSpan {
316316
}
317317
}
318318

319-
pub fn push_primary_span(&mut self, span: Span) {
320-
self.primary_spans.push(span);
321-
}
322-
323319
pub fn push_span_label(&mut self, span: Span, label: String) {
324320
self.span_labels.push((span, label));
325321
}

0 commit comments

Comments
 (0)