From f436f9ca2963e33cc41802370bb9c551c833970e Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Mon, 22 Dec 2014 00:49:42 +0100 Subject: Make Send and Sync traits unsafe --- src/libtest/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libtest') diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index dc30f973ff7..88dd6fce88f 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -976,7 +976,7 @@ enum TestEvent { pub type MonitorMsg = (TestDesc, TestResult, Vec ); -impl Send for MonitorMsg {} +unsafe impl Send for MonitorMsg {} fn run_tests(opts: &TestOpts, tests: Vec , -- cgit 1.4.1-3-g733a5