Skip to content

Commit

Permalink
Fix span for ExprPath variants
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusklaas committed Jun 4, 2015
1 parent a5979be commit 0000d4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2070,10 +2070,9 @@ impl<'a> Parser<'a> {
}
_ => {
if try!(self.eat_lt()){

let (qself, path) =
try!(self.parse_qualified_path(LifetimeAndTypesWithColons));

hi = path.span.hi;
return Ok(self.mk_expr(lo, hi, ExprPath(Some(qself), path)));
}
if try!(self.eat_keyword(keywords::Move) ){
Expand Down

0 comments on commit 0000d4c

Please sign in to comment.