diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-10-11 14:02:06 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-11-01 14:07:45 -0400 |
| commit | f6526512751bfe29a0bf9535bc41db2076ff57ba (patch) | |
| tree | bb03dcf1be6a9997ac28ecd1c46b772c2459a9ff /src/libsyntax_pos | |
| parent | 888a92cef37342c7878028eda967c85eb15afe43 (diff) | |
| download | rust-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.rs | 2 |
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)>, |
