diff options
Diffstat (limited to 'src/test/ui/parser/match-refactor-to-expr.rs')
-rw-r--r-- | src/test/ui/parser/match-refactor-to-expr.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/parser/match-refactor-to-expr.rs b/src/test/ui/parser/match-refactor-to-expr.rs deleted file mode 100644 index fcba5d044..000000000 --- a/src/test/ui/parser/match-refactor-to-expr.rs +++ /dev/null @@ -1,12 +0,0 @@ -// run-rustfix - -fn main() { - let foo = - match //~ NOTE while parsing this `match` expression - Some(4).unwrap_or(5) - //~^ NOTE expected one of `.`, `?`, `{`, or an operator - ; //~ NOTE unexpected token - //~^ ERROR expected one of `.`, `?`, `{`, or an operator, found `;` - - println!("{}", foo) -} |