about summary refs log tree commit diff
path: root/src/libsyntax_pos
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-10-11 14:02:06 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-11-01 14:07:45 -0400
commitf6526512751bfe29a0bf9535bc41db2076ff57ba (patch)
treebb03dcf1be6a9997ac28ecd1c46b772c2459a9ff /src/libsyntax_pos
parent888a92cef37342c7878028eda967c85eb15afe43 (diff)
downloadrust-f6526512751bfe29a0bf9535bc41db2076ff57ba.tar.gz
rust-f6526512751bfe29a0bf9535bc41db2076ff57ba.zip
retool EarlyLint to track a Diagnostic
Diffstat (limited to 'src/libsyntax_pos')
-rw-r--r--src/libsyntax_pos/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/lib.rs b/src/libsyntax_pos/lib.rs
index d83d3a6c5cf..d99850332c3 100644
--- a/src/libsyntax_pos/lib.rs
+++ b/src/libsyntax_pos/lib.rs
@@ -67,7 +67,7 @@ pub struct Span {
 ///   the error, and would be rendered with `^^^`.
 /// - they can have a *label*. In this case, the label is written next
 ///   to the mark in the snippet when we render.
-#[derive(Clone)]
+#[derive(Clone, Debug, PartialEq, Eq)]
 pub struct MultiSpan {
     primary_spans: Vec<Span>,
     span_labels: Vec<(Span, String)>,