// SPDX-License-Identifier: Apache-2.0 OR MIT // See ./unsafe_unpin-expanded.rs for generated code. #![allow(dead_code, clippy::undocumented_unsafe_blocks)] use pin_project::{pin_project, UnsafeUnpin}; #[pin_project(UnsafeUnpin)] struct Struct { #[pin] pinned: T, unpinned: U, } unsafe impl UnsafeUnpin for Struct {} fn main() {}