Skip to content

Commit

Permalink
Rollup merge of rust-lang#82302 - tmiasko:test-unsafe-send, r=Mark-Si…
Browse files Browse the repository at this point in the history
…mulacrum

Remove unsafe impl Send for CompletedTest & TestResult
  • Loading branch information
JohnTitor authored Feb 21, 2021
2 parents 9685a5e + 2380090 commit 5d6fc24
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions library/test/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ impl CompletedTest {
}
}

unsafe impl Send for CompletedTest {}

#[derive(Debug, Clone)]
pub enum TestEvent {
TeFiltered(Vec<TestDesc>),
Expand Down
2 changes: 0 additions & 2 deletions library/test/src/test_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ pub enum TestResult {
TrTimedFail,
}

unsafe impl Send for TestResult {}

/// Creates a `TestResult` depending on the raw result of test execution
/// and associated data.
pub fn calc_result<'a>(
Expand Down

0 comments on commit 5d6fc24

Please sign in to comment.