]> git.lizzy.rs Git - rust.git/commitdiff
Nit: remove push_primary_span, which was never called
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 27 Apr 2016 01:08:54 +0000 (21:08 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Mon, 2 May 2016 15:49:25 +0000 (11:49 -0400)
src/libsyntax/codemap.rs

index 1efd415685cc61c8e2d78b813bcf72990268cccc..ca8708fdc8326c480761a8d3d35daffc791e0052 100644 (file)
@@ -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));
     }