We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896cb36 commit a702558Copy full SHA for a702558
src/libtest/lib.rs
@@ -211,6 +211,8 @@ pub struct TestDesc {
211
pub should_fail: ShouldFail,
212
}
213
214
+unsafe impl Send for TestDesc {}
215
+
216
#[derive(Show)]
217
pub struct TestDescAndFn {
218
pub desc: TestDesc,
@@ -525,6 +527,8 @@ pub enum TestResult {
525
527
TrBench(BenchSamples),
526
528
529
530
+unsafe impl Send for TestResult {}
531
532
enum OutputLocation<T> {
533
Pretty(Box<term::Terminal<term::WriterWrapper> + Send>),
534
Raw(T),
@@ -978,7 +982,6 @@ enum TestEvent {
978
982
979
983
pub type MonitorMsg = (TestDesc, TestResult, Vec<u8> );
980
984
981
-unsafe impl Send for MonitorMsg {}
985
986
fn run_tests<F>(opts: &TestOpts,
987
tests: Vec<TestDescAndFn> ,
0 commit comments