2016-02-10 19:50:19 -06:00
|
|
|
// Test that we can recover from mismatched braces in the parser.
|
|
|
|
|
|
|
|
trait Foo {
|
|
|
|
fn bar() {
|
2023-02-28 01:55:19 -06:00
|
|
|
let x = foo();
|
2020-01-03 07:40:15 -06:00
|
|
|
) //~ ERROR mismatched closing delimiter: `)`
|
2016-02-10 19:50:19 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2023-02-28 01:55:19 -06:00
|
|
|
let x = y.;
|
2016-02-10 19:50:19 -06:00
|
|
|
}
|