Rollup merge of #82302 - tmiasko:test-unsafe-send, r=Mark-Simulacrum

Remove unsafe impl Send for CompletedTest & TestResult
This commit is contained in:
Yuki Okushi 2021-02-21 15:26:49 +09:00 committed by GitHub
commit 01e1d2d5e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -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>),

View File

@ -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>(