Add a test for iter::empty::<*mut i32> being Sync and Send
This commit is contained in:
parent
a70b240189
commit
d7a18f8986
@ -88,6 +88,7 @@ fn main() {
|
|||||||
is_sync_send!((1..));
|
is_sync_send!((1..));
|
||||||
is_sync_send!(repeat(1));
|
is_sync_send!(repeat(1));
|
||||||
is_sync_send!(empty::<usize>());
|
is_sync_send!(empty::<usize>());
|
||||||
|
is_sync_send!(empty::<*mut i32>());
|
||||||
is_sync_send!(once(1));
|
is_sync_send!(once(1));
|
||||||
|
|
||||||
// for option.rs
|
// for option.rs
|
||||||
|
Loading…
Reference in New Issue
Block a user