diff options
Diffstat (limited to 'src/test/ui/parser/parse-error-correct.rs')
-rw-r--r-- | src/test/ui/parser/parse-error-correct.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/parser/parse-error-correct.rs b/src/test/ui/parser/parse-error-correct.rs deleted file mode 100644 index 13759a235..000000000 --- a/src/test/ui/parser/parse-error-correct.rs +++ /dev/null @@ -1,10 +0,0 @@ -// Test that the parser is error correcting missing idents. Despite a parsing -// error (or two), we still run type checking (and don't get extra errors there). - -fn main() { - let y = 42; - let x = y.; //~ ERROR unexpected token - let x = y.(); //~ ERROR unexpected token - //~^ ERROR expected function, found `{integer}` - let x = y.foo; //~ ERROR `{integer}` is a primitive type and therefore doesn't have fields [E061 -} |