diff options
Diffstat (limited to 'src/test/ui/parser/issues/issue-15980.rs')
-rw-r--r-- | src/test/ui/parser/issues/issue-15980.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/parser/issues/issue-15980.rs b/src/test/ui/parser/issues/issue-15980.rs deleted file mode 100644 index 87faa7d5f..000000000 --- a/src/test/ui/parser/issues/issue-15980.rs +++ /dev/null @@ -1,17 +0,0 @@ -use std::io; - -fn main(){ - let x: io::Result<()> = Ok(()); - match x { - Err(ref e) if e.kind == io::EndOfFile { - //~^ NOTE while parsing this struct - return - //~^ ERROR expected identifier, found keyword `return` - //~| NOTE expected identifier, found keyword - } - //~^ NOTE expected one of `.`, `=>`, `?`, or an operator - _ => {} - //~^ ERROR expected one of `.`, `=>`, `?`, or an operator, found reserved identifier `_` - //~| NOTE unexpected token - } -} |