diff options
Diffstat (limited to 'src/test/ui/destructuring-assignment/bad-expr-lhs.rs')
-rw-r--r-- | src/test/ui/destructuring-assignment/bad-expr-lhs.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/destructuring-assignment/bad-expr-lhs.rs b/src/test/ui/destructuring-assignment/bad-expr-lhs.rs deleted file mode 100644 index 53794783a..000000000 --- a/src/test/ui/destructuring-assignment/bad-expr-lhs.rs +++ /dev/null @@ -1,9 +0,0 @@ -fn main() { - 1 = 2; //~ ERROR invalid left-hand side of assignment - 1 += 2; //~ ERROR invalid left-hand side of assignment - (1, 2) = (3, 4); - //~^ ERROR invalid left-hand side of assignment - //~| ERROR invalid left-hand side of assignment - - None = Some(3); //~ ERROR invalid left-hand side of assignment -} |