summaryrefslogtreecommitdiffstats
path: root/tests/ui/destructuring-assignment/bad-expr-lhs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/destructuring-assignment/bad-expr-lhs.rs')
-rw-r--r--tests/ui/destructuring-assignment/bad-expr-lhs.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/destructuring-assignment/bad-expr-lhs.rs b/tests/ui/destructuring-assignment/bad-expr-lhs.rs
index 53794783a..90e1ac199 100644
--- a/tests/ui/destructuring-assignment/bad-expr-lhs.rs
+++ b/tests/ui/destructuring-assignment/bad-expr-lhs.rs
@@ -4,6 +4,4 @@ fn main() {
(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
}