Skip to content

Commit 01e1d2d

Browse files
authored
Rollup merge of #82302 - tmiasko:test-unsafe-send, r=Mark-Simulacrum
Remove unsafe impl Send for CompletedTest & TestResult
2 parents 2793859 + 2380090 commit 01e1d2d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

library/test/src/event.rs

-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ impl CompletedTest {
2424
}
2525
}
2626

27-
unsafe impl Send for CompletedTest {}
28-
2927
#[derive(Debug, Clone)]
3028
pub enum TestEvent {
3129
TeFiltered(Vec<TestDesc>),

library/test/src/test_result.rs

-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ pub enum TestResult {
2424
TrTimedFail,
2525
}
2626

27-
unsafe impl Send for TestResult {}
28-
2927
/// Creates a `TestResult` depending on the raw result of test execution
3028
/// and associated data.
3129
pub fn calc_result<'a>(

0 commit comments

Comments
 (0)