blob: 203d8aac66c599a8df34d7585605c93c06f1aafd [file] [log] [blame] [edit]
// Test that we can recover from mismatched braces in the parser.
trait Foo {
fn bar() {
let x = foo();
) //~ ERROR mismatched closing delimiter: `)`
}
fn main() {
let x = y.;
}