diff options
Diffstat (limited to 'src/test/ui/parser/unnecessary-let.rs')
-rw-r--r-- | src/test/ui/parser/unnecessary-let.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/parser/unnecessary-let.rs b/src/test/ui/parser/unnecessary-let.rs deleted file mode 100644 index 627910962..000000000 --- a/src/test/ui/parser/unnecessary-let.rs +++ /dev/null @@ -1,11 +0,0 @@ -fn main() { - for let x of [1, 2, 3] {} - //~^ ERROR expected pattern, found `let` - //~| ERROR missing `in` in `for` loop - - match 1 { - let 1 => {} - //~^ ERROR expected pattern, found `let` - _ => {} - } -} |