about summary refs log tree commit diff
path: root/src/libcoretest/any.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcoretest/any.rs')
-rw-r--r--src/libcoretest/any.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcoretest/any.rs b/src/libcoretest/any.rs
index c0be3a28794..e6a7170acea 100644
--- a/src/libcoretest/any.rs
+++ b/src/libcoretest/any.rs
@@ -101,12 +101,12 @@ fn any_downcast_mut() {
     }
 
     match a_r.downcast_mut::<uint>() {
-        Some(&612) => {}
+        Some(&mut 612) => {}
         x => panic!("Unexpected value {:?}", x)
     }
 
     match b_r.downcast_mut::<uint>() {
-        Some(&413) => {}
+        Some(&mut 413) => {}
         x => panic!("Unexpected value {:?}", x)
     }
 }