|
13 | 13 | _pin: PhantomPinned, |
14 | 14 | } |
15 | 15 | #[doc(hidden)] |
| 16 | +#[allow(dead_code)] |
16 | 17 | struct FooProjection< |
17 | 18 | '__pin, |
18 | 19 | 'a, |
@@ -97,26 +98,30 @@ const _: () = { |
97 | 98 | ) -> ::core::pin::Pin<&'__slot mut PhantomPinned> { |
98 | 99 | ::core::pin::Pin::new_unchecked(slot) |
99 | 100 | } |
| 101 | + #[allow(non_snake_case)] |
100 | 102 | unsafe fn array<E>( |
101 | 103 | self, |
102 | 104 | slot: *mut [u8; 1024 * 1024], |
103 | 105 | init: impl ::pin_init::Init<[u8; 1024 * 1024], E>, |
104 | 106 | ) -> ::core::result::Result<(), E> { |
105 | 107 | unsafe { ::pin_init::Init::__init(init, slot) } |
106 | 108 | } |
| 109 | + #[allow(non_snake_case)] |
107 | 110 | unsafe fn __project_array<'__slot>( |
108 | 111 | self, |
109 | 112 | slot: &'__slot mut [u8; 1024 * 1024], |
110 | 113 | ) -> &'__slot mut [u8; 1024 * 1024] { |
111 | 114 | slot |
112 | 115 | } |
| 116 | + #[allow(non_snake_case)] |
113 | 117 | unsafe fn r<E>( |
114 | 118 | self, |
115 | 119 | slot: *mut &'b mut [&'a mut T; SIZE], |
116 | 120 | init: impl ::pin_init::Init<&'b mut [&'a mut T; SIZE], E>, |
117 | 121 | ) -> ::core::result::Result<(), E> { |
118 | 122 | unsafe { ::pin_init::Init::__init(init, slot) } |
119 | 123 | } |
| 124 | + #[allow(non_snake_case)] |
120 | 125 | unsafe fn __project_r<'__slot>( |
121 | 126 | self, |
122 | 127 | slot: &'__slot mut &'b mut [&'a mut T; SIZE], |
|
0 commit comments