From 5db4d620f2727113dfd5dd16fdb9417b9afda9d2 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 26 Apr 2016 21:08:54 -0400 Subject: [PATCH] Nit: remove push_primary_span, which was never called --- src/libsyntax/codemap.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs index 1efd415685c..ca8708fdc83 100644 --- a/src/libsyntax/codemap.rs +++ b/src/libsyntax/codemap.rs @@ -316,10 +316,6 @@ impl 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)); }