Skip to content

Commit 0000d4c

Browse files
committed
Fix span for ExprPath variants
1 parent a5979be commit 0000d4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,10 +2070,9 @@ impl<'a> Parser<'a> {
20702070
}
20712071
_ => {
20722072
if try!(self.eat_lt()){
2073-
20742073
let (qself, path) =
20752074
try!(self.parse_qualified_path(LifetimeAndTypesWithColons));
2076-
2075+
hi = path.span.hi;
20772076
return Ok(self.mk_expr(lo, hi, ExprPath(Some(qself), path)));
20782077
}
20792078
if try!(self.eat_keyword(keywords::Move) ){

0 commit comments

Comments
 (0)