Adjust the error messages to match the pattern "expected foo, found bar"
Closes #8492
This commit is contained in:
parent
2e5aea65cd
commit
9968ae2554
118 changed files with 266 additions and 266 deletions
|
@ -200,7 +200,7 @@ impl<'a> Parser<'a> {
|
|||
self.cur.next();
|
||||
}
|
||||
Some((_, other)) => {
|
||||
self.err(format!("expected `{}` but found `{}`",
|
||||
self.err(format!("expected `{}`, found `{}`",
|
||||
c,
|
||||
other).as_slice());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue