Assign correct span to continue expression
Fixes https://github.com/rust-lang/rust/issues/28105.
This commit is contained in:
@@ -2142,7 +2142,6 @@ impl<'a> Parser<'a> {
|
||||
return self.parse_loop_expr(None, lo);
|
||||
}
|
||||
if try!(self.eat_keyword(keywords::Continue) ){
|
||||
let lo = self.span.lo;
|
||||
let ex = if self.token.is_lifetime() {
|
||||
let lifetime = self.get_lifetime();
|
||||
try!(self.bump());
|
||||
|
||||
Reference in New Issue
Block a user