diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-02-21 15:26:49 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-21 15:26:49 +0900 |
| commit | 01e1d2d5e842cc2ded57f65549603772278f00d6 (patch) | |
| tree | 712f46773896eaf1bc662a1908feb373cf206f65 | |
| parent | 2793859e86ee37f32ccf01b05fc1869753b85c6a (diff) | |
| parent | 2380090f4995b3e156d325f765a023c49ca78a6b (diff) | |
| download | rust-01e1d2d5e842cc2ded57f65549603772278f00d6.tar.gz rust-01e1d2d5e842cc2ded57f65549603772278f00d6.zip | |
Rollup merge of #82302 - tmiasko:test-unsafe-send, r=Mark-Simulacrum
Remove unsafe impl Send for CompletedTest & TestResult
| -rw-r--r-- | library/test/src/event.rs | 2 | ||||
| -rw-r--r-- | library/test/src/test_result.rs | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/library/test/src/event.rs b/library/test/src/event.rs index 297bb72aecb..2103a0d10f4 100644 --- a/library/test/src/event.rs +++ b/library/test/src/event.rs @@ -24,8 +24,6 @@ impl CompletedTest { } } -unsafe impl Send for CompletedTest {} - #[derive(Debug, Clone)] pub enum TestEvent { TeFiltered(Vec<TestDesc>), diff --git a/library/test/src/test_result.rs b/library/test/src/test_result.rs index 598fb670bb4..c5c56ca9c7f 100644 --- a/library/test/src/test_result.rs +++ b/library/test/src/test_result.rs @@ -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>( |
