diff options
| author | Ralf Jung <post@ralfj.de> | 2022-08-03 12:44:21 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-08-03 12:44:21 -0400 |
| commit | a61c8413852a704f9f06e4fead7742fe0a7c68da (patch) | |
| tree | e1cd06e2f6426bdf36915d253c8d7075d193d128 | |
| parent | 04f72f95384d97f4c4e7a59e60cb85ec581ebe06 (diff) | |
| download | rust-a61c8413852a704f9f06e4fead7742fe0a7c68da.tar.gz rust-a61c8413852a704f9f06e4fead7742fe0a7c68da.zip | |
actually call assert_send_and_sync
| -rw-r--r-- | library/core/tests/slice.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/core/tests/slice.rs b/library/core/tests/slice.rs index 0656109e9db..b8f6fe6961a 100644 --- a/library/core/tests/slice.rs +++ b/library/core/tests/slice.rs @@ -1197,7 +1197,6 @@ fn chunks_mut_are_send_and_sync() { use std::slice::{ChunksExactMut, ChunksMut, RChunksExactMut, RChunksMut}; use std::sync::MutexGuard; - #[allow(unused)] fn assert_send_and_sync() where ChunksMut<'static, Cell<i32>>: Send, @@ -1210,6 +1209,8 @@ fn chunks_mut_are_send_and_sync() { RChunksExactMut<'static, MutexGuard<'static, u32>>: Sync, { } + + assert_send_and_sync(); } #[test] |
