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

pin_project! {
#[project_replace = StructProjReplace]
struct Struct<T, U> {
    #[pin]
    pinned1: T,
    #[pin]
    pinned2: T,
    unpinned1: U,
    unpinned2: U,
}
}

fn main() {}