@@ -72,6 +72,7 @@ cfg_if!(
72
72
[ rustc_arena:: DroplessArena ]
73
73
[ crate :: memmap:: Mmap ]
74
74
[ crate :: profiling:: SelfProfiler ]
75
+ [ crate :: owned_slice:: OwnedSlice ]
75
76
) ;
76
77
77
78
macro_rules! impl_dyn_send {
@@ -98,11 +99,6 @@ cfg_if!(
98
99
[ indexmap:: IndexMap <K , V , S > where K : DynSend , V : DynSend , S : DynSend ]
99
100
[ thin_vec:: ThinVec <T > where T : DynSend ]
100
101
[ smallvec:: SmallVec <A > where A : smallvec:: Array + DynSend ]
101
-
102
- // We use `Send` here, since they are only used in `Send` situations now.
103
- // In this case we don't need copy or change the codes in `crate::owning_ref`.
104
- [ crate :: owning_ref:: OwningRef <O , T > where O : Send , T : ?Sized + Send ]
105
- [ crate :: owning_ref:: OwningRefMut <O , T > where O : Send , T : ?Sized + Send ]
106
102
) ;
107
103
108
104
macro_rules! impls_dyn_sync_neg {
@@ -154,6 +150,7 @@ cfg_if!(
154
150
[ jobserver_crate:: Client ]
155
151
[ crate :: memmap:: Mmap ]
156
152
[ crate :: profiling:: SelfProfiler ]
153
+ [ crate :: owned_slice:: OwnedSlice ]
157
154
) ;
158
155
159
156
macro_rules! impl_dyn_sync {
@@ -184,11 +181,6 @@ cfg_if!(
184
181
[ indexmap:: IndexMap <K , V , S > where K : DynSync , V : DynSync , S : DynSync ]
185
182
[ smallvec:: SmallVec <A > where A : smallvec:: Array + DynSync ]
186
183
[ thin_vec:: ThinVec <T > where T : DynSync ]
187
-
188
- // We use `Sync` here, since they are only used in `Sync` situations now.
189
- // In this case we don't need copy or change the codes in `crate::owning_ref`.
190
- [ crate :: owning_ref:: OwningRef <O , T > where O : Sync , T : ?Sized + Sync ]
191
- [ crate :: owning_ref:: OwningRefMut <O , T > where O : Sync , T : ?Sized + Sync ]
192
184
) ;
193
185
}
194
186
) ;
0 commit comments