mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
actually call assert_send_and_sync
This commit is contained in:
parent
04f72f9538
commit
a61c841385
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user