diff options
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.rs | 10 |
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 c25639b72..000000000 --- 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)); -} |