Migrate TODOs about `use std::pin::Pin` to a new bug. I don't intend to fix them immediately as part of b/200067242. PiperOrigin-RevId: 462090928
diff --git a/rs_bindings_from_cc/src_code_gen.rs b/rs_bindings_from_cc/src_code_gen.rs index 793569a..a9cbbb7 100644 --- a/rs_bindings_from_cc/src_code_gen.rs +++ b/rs_bindings_from_cc/src_code_gen.rs
@@ -905,7 +905,7 @@ // We would need to do this, but it's no longer used: // return_type = RsTypeKind::Unit; - let _ = return_type; // proof that we don't need to update it. + let _ = return_type; // proof that we don't need to update it. quoted_return_type = quote! {}; } } @@ -2172,7 +2172,7 @@ } let mut_ = mutability.format_for_reference(); if mutability == &Mutability::Mut && !referent.is_unpin() { - // TODO(b/200067242): Add a `use ::std::pin::Pin` to the crate, and use + // TODO(b/239661934): Add a `use ::std::pin::Pin` to the crate, and use // `Pin`. Ok(quote! {self: ::std::pin::Pin< & #lifetime #mut_ Self>}) } else { @@ -2274,7 +2274,7 @@ let mut_ = mutability.format_for_reference(); let reference = quote! {& #lifetime #mut_ #referent}; if mutability == &Mutability::Mut && !referent.is_unpin() { - // TODO(b/200067242): Add a `use ::std::pin::Pin` to the crate, and use + // TODO(b/239661934): Add a `use ::std::pin::Pin` to the crate, and use // `Pin`. This either requires deciding how to qualify pin at // RsTypeKind-creation time, or returning an RsSnippet from here (and not // implementing ToTokens, but instead some other interface.) @@ -2284,7 +2284,7 @@ } } RsTypeKind::RvalueReference { referent, mutability, lifetime } => { - // TODO(b/200067242): Add a `use ::ctor::RvalueReference` (etc.) to the crate. + // TODO(b/239661934): Add a `use ::ctor::RvalueReference` (etc.) to the crate. if mutability == &Mutability::Mut { quote! {::ctor::RvalueReference<#lifetime, #referent>} } else {