about summary refs log tree commit diff
path: root/src/libsyntax_pos
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-01-28 18:13:21 -0500
committerNiko Matsakis <niko@alum.mit.edu>2017-02-02 20:38:16 -0500
commitd9aaca71cc61a7c0792da2789b5e278cc294733f (patch)
tree3ffe2962528fe925ad364aefffea6e0cf3920257 /src/libsyntax_pos
parent65b93ebcb8e2ff2d8747ce731108e8f5d9f7dddf (diff)
downloadrust-d9aaca71cc61a7c0792da2789b5e278cc294733f.tar.gz
rust-d9aaca71cc61a7c0792da2789b5e278cc294733f.zip
store typeck lints in the `TypeckTables`
Otherwise they are a "hidden output"
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 92fdb45caaa..3808923e772 100644
--- a/src/libsyntax_pos/lib.rs
+++ b/src/libsyntax_pos/lib.rs
@@ -66,7 +66,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, Debug, Hash, PartialEq, Eq)]
+#[derive(Clone, Debug, Hash, PartialEq, Eq, RustcEncodable, RustcDecodable)]
 pub struct MultiSpan {
     primary_spans: Vec<Span>,
     span_labels: Vec<(Span, String)>,