Auto merge of #28106 - marcusklaas:continue, r=eddyb

Fixes https://github.com/rust-lang/rust/issues/28105.
This commit is contained in:
bors
2015-08-30 20:26:44 +00:00
2 changed files with 23 additions and 1 deletions

View File

@@ -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());