diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-01-28 18:13:21 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-02-02 20:38:16 -0500 |
| commit | d9aaca71cc61a7c0792da2789b5e278cc294733f (patch) | |
| tree | 3ffe2962528fe925ad364aefffea6e0cf3920257 /src/libsyntax_pos | |
| parent | 65b93ebcb8e2ff2d8747ce731108e8f5d9f7dddf (diff) | |
| download | rust-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.rs | 2 |
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)>, |
