about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-06-04 08:42:22 +0000
committerbors <bors@rust-lang.org>2015-06-04 08:42:22 +0000
commit0aeb9f6f08c353c71d962d5cc7a231e73040ca3c (patch)
tree37ac7efa631a9ffd2a32c330b3223135d3c711fc /src/libsyntax/parse/parser.rs
parent80d08a37b6215a59ecce042f36ad446c5357b543 (diff)
parentfd3b6ca508ed99004a11291ef1d2c64104102a41 (diff)
downloadrust-0aeb9f6f08c353c71d962d5cc7a231e73040ca3c.tar.gz
rust-0aeb9f6f08c353c71d962d5cc7a231e73040ca3c.zip
Auto merge of #26002 - Manishearth:rollup, r=Manishearth
- Successful merges: #25900, #25987, #25988, #25990, #25994, #26000
- Failed merges: 
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 539d594cb8b..420b27b8395 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -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) ){