about summary refs log tree commit diff
path: root/src/rustc/driver
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-09-12 11:15:39 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-09-12 11:33:40 -0700
commit86e02554fd3e3795626cba4d50de6243c19ff972 (patch)
tree8cd8d23cc1afc252365392014e44c08554a08cc6 /src/rustc/driver
parent320331fe35f4020b388b2ccc5128d7261473ea08 (diff)
downloadrust-86e02554fd3e3795626cba4d50de6243c19ff972.tar.gz
rust-86e02554fd3e3795626cba4d50de6243c19ff972.zip
Make moves in arguments explicit in libsyntax and rustc
Diffstat (limited to 'src/rustc/driver')
-rw-r--r--src/rustc/driver/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/driver/rustc.rs b/src/rustc/driver/rustc.rs
index 1ccd27c786b..28e94e280bf 100644
--- a/src/rustc/driver/rustc.rs
+++ b/src/rustc/driver/rustc.rs
@@ -228,7 +228,7 @@ fn monitor(+f: fn~(diagnostic::emitter)) {
     let p = comm::Port();
     let ch = comm::Chan(p);
 
-    match do task::try  {
+    match do task::try |move f| {
 
         // The 'diagnostics emitter'. Every error, warning, etc. should
         // go through this function.