summaryrefslogtreecommitdiffstats
path: root/third_party/rust/pin-project-lite/tests/expand/naming/struct-ref.rs
blob: 6821af82745c7780070df71e02dbcbb4e9a9788b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use pin_project_lite::pin_project;

pin_project! {
    #[project_ref = StructProjRef]
    struct Struct<T, U> {
        #[pin]
        pinned: T,
        unpinned: U,
    }
}

fn main() {}