@@ -94,6 +94,7 @@ cfg_if!(
94
94
[ Box <T , A > where T : ?Sized + DynSend , A : std:: alloc:: Allocator + DynSend ]
95
95
[ crate :: sync:: Lock <T > where T : DynSend ]
96
96
[ crate :: sync:: RwLock <T > where T : DynSend ]
97
+ [ crate :: tagged_ptr:: CopyTaggedPtr <P , T , CP > where P : Send + crate :: tagged_ptr:: Pointer , T : Send + crate :: tagged_ptr:: Tag , const CP : bool ]
97
98
[ rustc_arena:: TypedArena <T > where T : DynSend ]
98
99
[ indexmap:: IndexSet <V , S > where V : DynSend , S : DynSend ]
99
100
[ indexmap:: IndexMap <K , V , S > where K : DynSend , V : DynSend , S : DynSend ]
@@ -175,6 +176,7 @@ cfg_if!(
175
176
[ crate :: sync:: OneThread <T > where T ]
176
177
[ crate :: sync:: WorkerLocal <T > where T : DynSend ]
177
178
[ crate :: intern:: Interned <' a, T > where ' a, T : DynSync ]
179
+ [ crate :: tagged_ptr:: CopyTaggedPtr <P , T , CP > where P : Sync + crate :: tagged_ptr:: Pointer , T : Sync + crate :: tagged_ptr:: Tag , const CP : bool ]
178
180
[ parking_lot:: lock_api:: Mutex <R , T > where R : DynSync , T : ?Sized + DynSend ]
179
181
[ parking_lot:: lock_api:: RwLock <R , T > where R : DynSync , T : ?Sized + DynSend + DynSync ]
180
182
[ indexmap:: IndexSet <V , S > where V : DynSync , S : DynSync ]
@@ -218,9 +220,10 @@ unsafe impl<T: DynSend> Send for FromDyn<T> {}
218
220
#[ cfg( parallel_compiler) ]
219
221
unsafe impl < T : DynSync > Sync for FromDyn < T > { }
220
222
221
- impl < T > const std:: ops:: Deref for FromDyn < T > {
223
+ impl < T > std:: ops:: Deref for FromDyn < T > {
222
224
type Target = T ;
223
225
226
+ #[ inline( always) ]
224
227
fn deref ( & self ) -> & Self :: Target {
225
228
& self . 0
226
229
}
@@ -237,15 +240,17 @@ unsafe impl<T: ?Sized + Send> DynSend for IntoDynSyncSend<T> {}
237
240
#[ cfg( parallel_compiler) ]
238
241
unsafe impl < T : ?Sized + Sync > DynSync for IntoDynSyncSend < T > { }
239
242
240
- impl < T > const std:: ops:: Deref for IntoDynSyncSend < T > {
243
+ impl < T > std:: ops:: Deref for IntoDynSyncSend < T > {
241
244
type Target = T ;
242
245
246
+ #[ inline( always) ]
243
247
fn deref ( & self ) -> & T {
244
248
& self . 0
245
249
}
246
250
}
247
251
248
- impl < T > const std:: ops:: DerefMut for IntoDynSyncSend < T > {
252
+ impl < T > std:: ops:: DerefMut for IntoDynSyncSend < T > {
253
+ #[ inline( always) ]
249
254
fn deref_mut ( & mut self ) -> & mut T {
250
255
& mut self . 0
251
256
}
0 commit comments