about summary refs log tree commit diff
path: root/src/test/run-pass/threads-sendsync/spawn-fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/threads-sendsync/spawn-fn.rs')
-rw-r--r--src/test/run-pass/threads-sendsync/spawn-fn.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-pass/threads-sendsync/spawn-fn.rs b/src/test/run-pass/threads-sendsync/spawn-fn.rs
index 39fbba04361..1e1382df60f 100644
--- a/src/test/run-pass/threads-sendsync/spawn-fn.rs
+++ b/src/test/run-pass/threads-sendsync/spawn-fn.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // run-pass
+#![allow(unused_must_use)]
 // ignore-emscripten no threads support
 
 use std::thread;