1
Fork 0

Some error recovery in the parser

This commit is contained in:
Nick Cameron 2016-02-10 16:11:27 +13:00
parent ffd2a0b9d7
commit 847a0d2150
12 changed files with 173 additions and 41 deletions

View file

@ -23,7 +23,7 @@ impl Foo {
fn main() {
while Foo {
x: 3 //~ ERROR expected type, found `3`
}.hi() {
}.hi() { //~ ERROR expected one of `.`, `;`, `}`, or an operator, found `{`
println!("yo");
}
}