Rollup merge of #82302 - tmiasko:test-unsafe-send, r=Mark-Simulacrum
Remove unsafe impl Send for CompletedTest & TestResult
This commit is contained in:
commit
01e1d2d5e8
|
@ -24,8 +24,6 @@ impl CompletedTest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl Send for CompletedTest {}
|
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub enum TestEvent {
|
pub enum TestEvent {
|
||||||
TeFiltered(Vec<TestDesc>),
|
TeFiltered(Vec<TestDesc>),
|
||||||
|
|
|
@ -24,8 +24,6 @@ pub enum TestResult {
|
||||||
TrTimedFail,
|
TrTimedFail,
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl Send for TestResult {}
|
|
||||||
|
|
||||||
/// Creates a `TestResult` depending on the raw result of test execution
|
/// Creates a `TestResult` depending on the raw result of test execution
|
||||||
/// and associated data.
|
/// and associated data.
|
||||||
pub fn calc_result<'a>(
|
pub fn calc_result<'a>(
|
||||||
|
|
Loading…
Reference in New Issue