Skip to content

Commit

Permalink
Add todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 25, 2024
1 parent ebaf816 commit 36c01cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pin-project-internal/src/pin_project/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,8 @@ fn make_unpin_impl(cx: &Context<'_>) -> TokenStream {
let orig_ident = cx.orig.ident;
let lifetime = &cx.proj.lifetime;

// TODO: Using `<unsized type>: Sized` here allow emulating real negative_impls...
// https://github.com/taiki-e/pin-project/issues/340#issuecomment-2428002670
proj_generics.make_where_clause().predicates.push(parse_quote! {
_pin_project::__private::PinnedFieldsOf<_pin_project::__private::Wrapper<
#lifetime, _pin_project::__private::PhantomPinned
Expand Down

0 comments on commit 36c01cb

Please sign in to comment.