From c1311073c0eab8a9f0566dbe0753f80865912a01 Mon Sep 17 00:00:00 2001 From: Haibo Huang Date: Tue, 9 Feb 2021 17:42:22 -0800 Subject: Upgrade rust/crates/pin-project to 1.0.5 Test: make Change-Id: Ib3aa891d12640b626e328863102306eb9f973622 --- tests/expand/naming/struct-mut.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/expand/naming/struct-mut.rs (limited to 'tests/expand/naming/struct-mut.rs') diff --git a/tests/expand/naming/struct-mut.rs b/tests/expand/naming/struct-mut.rs new file mode 100644 index 0000000..2f554d3 --- /dev/null +++ b/tests/expand/naming/struct-mut.rs @@ -0,0 +1,10 @@ +use pin_project::pin_project; + +#[pin_project(project = Proj)] +struct Struct { + #[pin] + pinned: T, + unpinned: U, +} + +fn main() {} -- cgit v1.2.3