1 use pin_project::{pin_project, pinned_drop};
2 use std::pin::Pin;
3 
4 #[pin_project(PinnedDrop)]
5 struct TupleStruct<T, U>(#[pin] T, U);
6 
7 #[pinned_drop]
8 impl<T, U> PinnedDrop for TupleStruct<T, U> {
drop(self: Pin<&mut Self>)9     fn drop(self: Pin<&mut Self>) {
10         let _ = self;
11     }
12 }
13 
main()14 fn main() {}
15