1313 _pin : PhantomPinned ,
1414}
1515/// Pin-projections of [`Foo`]
16- #[ allow( dead_code) ]
16+ #[ allow( dead_code, nonstandard_style ) ]
1717#[ doc( hidden) ]
1818struct FooProjection <
1919 ' __pin ,
@@ -92,6 +92,7 @@ const _: () = {
9292 /// - `slot` is a valid pointer to uninitialized memory.
9393 /// - the caller does not touch `slot` when `Err` is returned, they are only permitted
9494 /// to deallocate.
95+ #[ allow( nonstandard_style) ]
9596 unsafe fn array < E > (
9697 self ,
9798 slot : * mut [ u8 ; 1024 * 1024 ] ,
@@ -113,6 +114,7 @@ const _: () = {
113114 /// - `slot` is a valid pointer to uninitialized memory.
114115 /// - the caller does not touch `slot` when `Err` is returned, they are only permitted
115116 /// to deallocate.
117+ #[ allow( nonstandard_style) ]
116118 unsafe fn r < E > (
117119 self ,
118120 slot : * mut & ' b mut [ & ' a mut T ; SIZE ] ,
@@ -135,6 +137,7 @@ const _: () = {
135137 /// - the caller does not touch `slot` when `Err` is returned, they are only permitted
136138 /// to deallocate.
137139 /// - `slot` will not move until it is dropped, i.e. it will be pinned.
140+ #[ allow( nonstandard_style) ]
138141 unsafe fn _pin < E > (
139142 self ,
140143 slot : * mut PhantomPinned ,
@@ -179,7 +182,7 @@ const _: () = {
179182 {
180183 type Datee = Foo < ' a , ' b , T , SIZE > ;
181184 }
182- #[ allow( dead_code) ]
185+ #[ allow( dead_code, nonstandard_style ) ]
183186 struct __Unpin < ' __pin , ' a , ' b : ' a , T : Bar < ' b > + ?Sized + ' a , const SIZE : usize = 0 >
184187 where
185188 T : Bar < ' a , 1 > ,
0 commit comments