diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2017-02-02 16:23:27 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2017-02-02 16:23:27 +1300 |
| commit | 395f23c9f7c7e1107dce5a05e71b3a9480d4e331 (patch) | |
| tree | a0b110d257c297dbc0a410d3b50e105804a2bd97 /src/libsyntax/parse | |
| parent | 24055d0f2aa8dce5caed7544e6006aa48dceaea5 (diff) | |
| download | rust-395f23c9f7c7e1107dce5a05e71b3a9480d4e331.tar.gz rust-395f23c9f7c7e1107dce5a05e71b3a9480d4e331.zip | |
save-analysis: be more paranoid about generated paths
fixes https://github.com/rust-lang-nursery/rls/issues/160
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 3480db8ec3b..d2bc7bf4f48 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1693,6 +1693,7 @@ impl<'a> Parser<'a> { } // Assemble the span. + // FIXME(#39450) This is bogus if part of the path is macro generated. let span = mk_sp(lo, self.prev_span.hi); // Assemble the result. |
