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
This commit is contained in:
commit
ece9240824
2 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue