@@ -157,6 +157,7 @@ impl<
157157{
158158}
159159
160+ #[ cfg_attr( feature = "device" , expect( clippy:: needless_lifetimes) ) ]
160161impl <
161162 ' a ,
162163 T : Sync + crate :: safety:: StackOnly + crate :: safety:: PortableBitSemantics + TypeGraphLayout ,
@@ -244,9 +245,8 @@ impl<
244245 }
245246}
246247impl <
247- ' a ,
248248 T : Sync + crate :: safety:: StackOnly + crate :: safety:: PortableBitSemantics + TypeGraphLayout ,
249- > sealed:: Sealed for & ' a PerThreadShallowCopy < T >
249+ > sealed:: Sealed for & PerThreadShallowCopy < T >
250250{
251251}
252252
@@ -342,9 +342,8 @@ impl<
342342 }
343343}
344344impl <
345- ' a ,
346345 T : Sync + crate :: safety:: StackOnly + crate :: safety:: PortableBitSemantics + TypeGraphLayout ,
347- > sealed:: Sealed for & ' a PtxJit < PerThreadShallowCopy < T > >
346+ > sealed:: Sealed for & PtxJit < PerThreadShallowCopy < T > >
348347{
349348}
350349
@@ -374,6 +373,7 @@ impl<
374373 }
375374}
376375
376+ #[ cfg_attr( feature = "device" , expect( clippy:: needless_lifetimes) ) ]
377377impl <
378378 ' a ,
379379 T : Sync
@@ -467,13 +467,12 @@ impl<
467467 }
468468}
469469impl <
470- ' a ,
471470 T : crate :: safety:: StackOnly
472471 + Sync
473472 + crate :: safety:: PortableBitSemantics
474473 + TypeGraphLayout
475474 + InteriorMutableSync ,
476- > sealed:: Sealed for & ' a ShallowInteriorMutable < T >
475+ > sealed:: Sealed for & ShallowInteriorMutable < T >
477476{
478477}
479478
@@ -618,6 +617,7 @@ impl<
618617{
619618}
620619
620+ #[ cfg_attr( feature = "device" , expect( clippy:: needless_lifetimes) ) ]
621621impl < ' a , T : Sync + RustToCuda > CudaKernelParameter for & ' a DeepPerThreadBorrow < T > {
622622 #[ cfg( feature = "host" ) ]
623623 type AsyncHostType < ' stream , ' b >
@@ -707,8 +707,9 @@ impl<'a, T: Sync + RustToCuda> CudaKernelParameter for &'a DeepPerThreadBorrow<T
707707 }
708708 }
709709}
710- impl < ' a , T : Sync + RustToCuda > sealed:: Sealed for & ' a DeepPerThreadBorrow < T > { }
710+ impl < T : Sync + RustToCuda > sealed:: Sealed for & DeepPerThreadBorrow < T > { }
711711
712+ #[ cfg_attr( feature = "device" , expect( clippy:: needless_lifetimes) ) ]
712713impl < ' a , T : Sync + RustToCuda + SafeMutableAliasing > CudaKernelParameter
713714 for & ' a mut DeepPerThreadBorrow < T >
714715{
@@ -806,8 +807,8 @@ impl<'a, T: Sync + RustToCuda + SafeMutableAliasing> CudaKernelParameter
806807 }
807808 }
808809}
809- impl < ' a , T : Sync + RustToCuda + SafeMutableAliasing > sealed:: Sealed
810- for & ' a mut DeepPerThreadBorrow < T >
810+ impl < T : Sync + RustToCuda + SafeMutableAliasing > sealed:: Sealed
811+ for & mut DeepPerThreadBorrow < T >
811812{
812813}
813814
@@ -994,7 +995,7 @@ impl<'a, T: Sync + RustToCuda> CudaKernelParameter for &'a PtxJit<DeepPerThreadB
994995 }
995996 }
996997}
997- impl < ' a , T : Sync + RustToCuda > sealed:: Sealed for & ' a PtxJit < DeepPerThreadBorrow < T > > { }
998+ impl < T : Sync + RustToCuda > sealed:: Sealed for & PtxJit < DeepPerThreadBorrow < T > > { }
998999
9991000impl < ' a , T : Sync + RustToCuda + SafeMutableAliasing > CudaKernelParameter
10001001 for & ' a mut PtxJit < DeepPerThreadBorrow < T > >
@@ -1090,8 +1091,8 @@ impl<'a, T: Sync + RustToCuda + SafeMutableAliasing> CudaKernelParameter
10901091 }
10911092 }
10921093}
1093- impl < ' a , T : Sync + RustToCuda + SafeMutableAliasing > sealed:: Sealed
1094- for & ' a mut PtxJit < DeepPerThreadBorrow < T > >
1094+ impl < T : Sync + RustToCuda + SafeMutableAliasing > sealed:: Sealed
1095+ for & mut PtxJit < DeepPerThreadBorrow < T > >
10951096{
10961097}
10971098
@@ -1135,7 +1136,7 @@ mod private_shared {
11351136 }
11361137}
11371138
1138- impl < ' a , T : ' static > CudaKernelParameter for & ' a mut crate :: utils:: shared:: ThreadBlockShared < T > {
1139+ impl < T : ' static > CudaKernelParameter for & mut crate :: utils:: shared:: ThreadBlockShared < T > {
11391140 #[ cfg( feature = "host" ) ]
11401141 type AsyncHostType < ' stream , ' b >
11411142 = & ' b mut crate :: utils:: shared:: ThreadBlockShared < T >
@@ -1218,10 +1219,10 @@ impl<'a, T: 'static> CudaKernelParameter for &'a mut crate::utils::shared::Threa
12181219 inner. with ( & mut param)
12191220 }
12201221}
1221- impl < ' a , T : ' static > sealed:: Sealed for & ' a mut crate :: utils:: shared:: ThreadBlockShared < T > { }
1222+ impl < T : ' static > sealed:: Sealed for & mut crate :: utils:: shared:: ThreadBlockShared < T > { }
12221223
1223- impl < ' a , T : ' static + PortableBitSemantics + TypeGraphLayout > CudaKernelParameter
1224- for & ' a mut crate :: utils:: shared:: ThreadBlockSharedSlice < T >
1224+ impl < T : ' static + PortableBitSemantics + TypeGraphLayout > CudaKernelParameter
1225+ for & mut crate :: utils:: shared:: ThreadBlockSharedSlice < T >
12251226{
12261227 #[ cfg( feature = "host" ) ]
12271228 type AsyncHostType < ' stream , ' b >
@@ -1307,7 +1308,7 @@ impl<'a, T: 'static + PortableBitSemantics + TypeGraphLayout> CudaKernelParamete
13071308 }
13081309 }
13091310}
1310- impl < ' a , T : ' static + PortableBitSemantics + TypeGraphLayout > sealed:: Sealed
1311- for & ' a mut crate :: utils:: shared:: ThreadBlockSharedSlice < T >
1311+ impl < T : ' static + PortableBitSemantics + TypeGraphLayout > sealed:: Sealed
1312+ for & mut crate :: utils:: shared:: ThreadBlockSharedSlice < T >
13121313{
13131314}
0 commit comments