@@ -513,7 +513,9 @@ macro_rules! __pinned_drop {
513513 }
514514 ) ,
515515 ) => {
516+ #[ allow( clippy:: undocumented_unsafe_blocks) ]
516517 // SAFETY: TODO.
518+ // FIXME
517519 unsafe $( $impl_sig) * {
518520 // Inherit all attributes and the type/ident tokens for the signature.
519521 $( #[ $( $attr) * ] ) *
@@ -868,12 +870,16 @@ macro_rules! __pin_data {
868870 {
869871 type PinData = __ThePinData<$( $ty_generics) * >;
870872
873+ #[ allow( clippy:: undocumented_unsafe_blocks) ]
874+ // FIXME
871875 unsafe fn __pin_data( ) -> Self :: PinData {
872876 __ThePinData { __phantom: :: core:: marker:: PhantomData }
873877 }
874878 }
875879
880+ #[ allow( clippy:: undocumented_unsafe_blocks) ]
876881 // SAFETY: TODO.
882+ // FIXME
877883 unsafe impl <$( $impl_generics) * >
878884 $crate:: init:: __internal:: PinData for __ThePinData<$( $ty_generics) * >
879885 where $( $whr) *
@@ -1000,7 +1006,9 @@ macro_rules! __pin_data {
10001006 slot: * mut $p_type,
10011007 init: impl $crate:: init:: PinInit <$p_type, E >,
10021008 ) -> :: core:: result:: Result <( ) , E > {
1009+ #[ allow( clippy:: undocumented_unsafe_blocks) ]
10031010 // SAFETY: TODO.
1011+ // FIXME
10041012 unsafe { $crate:: init:: PinInit :: __pinned_init( init, slot) }
10051013 }
10061014 ) *
@@ -1011,7 +1019,9 @@ macro_rules! __pin_data {
10111019 slot: * mut $type,
10121020 init: impl $crate:: init:: Init <$type, E >,
10131021 ) -> :: core:: result:: Result <( ) , E > {
1022+ #[ allow( clippy:: undocumented_unsafe_blocks) ]
10141023 // SAFETY: TODO.
1024+ // FIXME
10151025 unsafe { $crate:: init:: Init :: __init( init, slot) }
10161026 }
10171027 ) *
@@ -1126,6 +1136,8 @@ macro_rules! __init_internal {
11261136 // no possibility of returning without `unsafe`.
11271137 struct __InitOk;
11281138 // Get the data about fields from the supplied type.
1139+ #[ allow( clippy:: undocumented_unsafe_blocks) ]
1140+ // FIXME
11291141 //
11301142 // SAFETY: TODO.
11311143 let data = unsafe {
@@ -1183,6 +1195,7 @@ macro_rules! __init_internal {
11831195 let init = move |slot| -> :: core:: result:: Result <( ) , $err> {
11841196 init( slot) . map( |__InitOk| ( ) )
11851197 } ;
1198+ #[ allow( clippy:: undocumented_unsafe_blocks) ]
11861199 // SAFETY: TODO.
11871200 let init = unsafe { $crate:: init:: $construct_closure:: <_, $err>( init) } ;
11881201 init
@@ -1332,6 +1345,7 @@ macro_rules! __init_internal {
13321345 // Endpoint, nothing more to munch, create the initializer.
13331346 // Since we are in the closure that is never called, this will never get executed.
13341347 // We abuse `slot` to get the correct type inference here:
1348+ #[ allow( clippy:: undocumented_unsafe_blocks) ]
13351349 //
13361350 // SAFETY: TODO.
13371351 unsafe {
0 commit comments