diff options
Diffstat (limited to 'src/test/ui/parser/parser-recovery-1.rs')
-rw-r--r-- | src/test/ui/parser/parser-recovery-1.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/parser/parser-recovery-1.rs b/src/test/ui/parser/parser-recovery-1.rs deleted file mode 100644 index 7e26b4f2b..000000000 --- a/src/test/ui/parser/parser-recovery-1.rs +++ /dev/null @@ -1,13 +0,0 @@ -// Test that we can recover from missing braces in the parser. - -trait Foo { - fn bar() { - let x = foo(); - //~^ ERROR cannot find function `foo` in this scope -} - -fn main() { - let x = y.; - //~^ ERROR unexpected token - //~| ERROR cannot find value `y` in this scope -} //~ ERROR this file contains an unclosed delimiter |