]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-3424.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / issue-3424.rs
index 651315ea6417347bbd1868d0104f64535b3409ab..6647fbe2238ef60ed82868ea71af6cc87e048940 100644 (file)
@@ -11,6 +11,8 @@
 
 // rustc --test ignores2.rs && ./ignores2
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 #![feature(unboxed_closures)]
 
 use std::path::{Path};
@@ -27,7 +29,7 @@ fn tester()
     };
 
     let path = path::Path::new("blah");
-    assert!(loader.call_mut((&path,)).is_ok());
+    assert!(loader(&path).is_ok());
 }
 
 pub fn main() {}