about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-02-05 09:14:49 -0500
committerGitHub <noreply@github.com>2017-02-05 09:14:49 -0500
commitece92408247219084f0a1109bca3634ab8d868f5 (patch)
treedac0bdb28e35cfff91c5732ab56fcfb16f6766cc /src/libsyntax/parse
parentcd5c520cc23c46de1c207927fb55336915836725 (diff)
parent395f23c9f7c7e1107dce5a05e71b3a9480d4e331 (diff)
downloadrust-ece92408247219084f0a1109bca3634ab8d868f5.tar.gz
rust-ece92408247219084f0a1109bca3634ab8d868f5.zip
Rollup merge of #39453 - nrc:save-path, r=nikomatsakis
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.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index fd7c56f136f..45d8354d317 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1691,6 +1691,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.