Skip to content

Commit b4ccc90

Browse files
author
Jorge Aparicio
committed
driver: remove unboxed closures
1 parent bf52e26 commit b4ccc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ fn write_out_deps(sess: &Session,
638638
_ => return,
639639
};
640640

641-
let result = (|| -> io::IoResult<()> {
641+
let result = (|&:| -> io::IoResult<()> {
642642
// Build a list of files used to compile the output and
643643
// write Makefile-compatible dependency rules
644644
let files: Vec<String> = sess.codemap().files.borrow()

0 commit comments

Comments
 (0)