diff options
| author | SparrowLii <liyuan179@huawei.com> | 2023-04-10 09:53:50 +0800 |
|---|---|---|
| committer | SparrowLii <liyuan179@huawei.com> | 2023-05-06 09:34:55 +0800 |
| commit | bffccddac3470f68efe15a3e81257869be562568 (patch) | |
| tree | 78d3a390f37b3055d1dbb19a2f63a9b5e1808cfc /compiler/rustc_data_structures/src/owned_slice | |
| parent | 089a38880b6e3b05a2c59644469233dbda411158 (diff) | |
correct import of owned_slice
Diffstat (limited to 'compiler/rustc_data_structures/src/owned_slice')
| -rw-r--r-- | compiler/rustc_data_structures/src/owned_slice/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/owned_slice/tests.rs b/compiler/rustc_data_structures/src/owned_slice/tests.rs index e715fb55362..e151b8c2de0 100644 --- a/compiler/rustc_data_structures/src/owned_slice/tests.rs +++ b/compiler/rustc_data_structures/src/owned_slice/tests.rs @@ -69,6 +69,6 @@ fn drop_drops() { #[test] fn send_sync() { - crate::sync::assert_send::<OwnedSlice>(); - crate::sync::assert_sync::<OwnedSlice>(); + crate::sync::assert_dyn_send::<OwnedSlice>(); + crate::sync::assert_dyn_sync::<OwnedSlice>(); } |
