blob: 5400ecbbd7daf6c3ac7b0b10012c766929ad4807 [file] [log] [blame]
use std::pin::Pin;
use pin_project_lite::pin_project;
pin_project! {
struct Struct<T, U> {
#[pin]
pinned: T,
unpinned: U,
}
impl<T, U> PinnedDrop for Struct<T, U> {
fn drop(this: Pin<&mut Self>) {
let _ = this;
}
}
}
fn main() {}