about summary refs log tree commit diff
path: root/src/test/ui/binding/match-ref-binding-mut-option.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/binding/match-ref-binding-mut-option.rs')
-rw-r--r--src/test/ui/binding/match-ref-binding-mut-option.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/binding/match-ref-binding-mut-option.rs b/src/test/ui/binding/match-ref-binding-mut-option.rs
deleted file mode 100644
index c25639b7213..00000000000
--- a/src/test/ui/binding/match-ref-binding-mut-option.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// run-pass
-
-pub fn main() {
-    let mut v = Some(22);
-    match v {
-      None => {}
-      Some(ref mut p) => { *p += 1; }
-    }
-    assert_eq!(v, Some(23));
-}