]> git.lizzy.rs Git - rust.git/commitdiff
driver: remove unboxed closures
authorJorge Aparicio <japaricious@gmail.com>
Mon, 5 Jan 2015 01:36:57 +0000 (20:36 -0500)
committerJorge Aparicio <japaricious@gmail.com>
Mon, 5 Jan 2015 22:22:14 +0000 (17:22 -0500)
src/librustc_driver/driver.rs

index 1455aa3c99bb3680403e7a33897672319d1187cf..9540c3fa3d7e817ff692ba791c255b916b1ca0c2 100644 (file)
@@ -638,7 +638,7 @@ fn write_out_deps(sess: &Session,
         _ => return,
     };
 
-    let result = (|| -> io::IoResult<()> {
+    let result = (|&:| -> io::IoResult<()> {
         // Build a list of files used to compile the output and
         // write Makefile-compatible dependency rules
         let files: Vec<String> = sess.codemap().files.borrow()