summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-0107-bind-by-move-pattern-guards/former-E0008-now-pass.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-0107-bind-by-move-pattern-guards/former-E0008-now-pass.rs')
-rw-r--r--tests/ui/rfc-0107-bind-by-move-pattern-guards/former-E0008-now-pass.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/ui/rfc-0107-bind-by-move-pattern-guards/former-E0008-now-pass.rs b/tests/ui/rfc-0107-bind-by-move-pattern-guards/former-E0008-now-pass.rs
deleted file mode 100644
index 3161d6fbb..000000000
--- a/tests/ui/rfc-0107-bind-by-move-pattern-guards/former-E0008-now-pass.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// This test used to emit E0008 but now passed since `bind_by_move_pattern_guards`
-// have been stabilized.
-
-// check-pass
-
-fn main() {
- match Some("hi".to_string()) {
- Some(s) if s.len() == 0 => {},
- _ => {},
- }
-}