1
Fork 0

rollup merge of #16839 : treeman/issue-15358

This commit is contained in:
Alex Crichton 2014-08-30 23:47:23 -07:00
commit d1a5b277a1
12 changed files with 12 additions and 12 deletions

View file

@ -599,7 +599,7 @@ impl<'a> Parser<'a> {
let token_str = self.this_token_to_string();
let span = self.span;
self.span_err(span,
format!("found `{}` in ident position",
format!("expected identifier, found keyword `{}`",
token_str).as_slice());
}
}