]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/borrowed-ptr-pattern-infallible.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / borrowed-ptr-pattern-infallible.rs
index 77484b8da4a7de415f704c4c4d3823c094cb0332..55ae6d3bebf67e4910cdf838cd1553e9615909e1 100644 (file)
@@ -8,11 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[feature(managed_boxes)];
 
 pub fn main() {
-    let (&x, &y, &z) = (&3, &'a', &@"No pets!");
+    let (&x, &y) = (&3i, &'a');
     assert_eq!(x, 3);
     assert_eq!(y, 'a');
-    assert_eq!(z, @"No pets!");
 }