aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pin_project/add-attr-to-struct.rs
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-19 16:12:52 -0700
committerJoel Galenson <jgalenson@google.com>2021-05-19 16:12:52 -0700
commitc95dc516440636acb2e9f0b61e3a4595a90c4d2e (patch)
treea2808291a9d00789d7f23e0e6bc9e133aace307a /tests/ui/pin_project/add-attr-to-struct.rs
parent1a7271af628c203700f21c3b3eac18bbd7373340 (diff)
downloadpin-project-c95dc516440636acb2e9f0b61e3a4595a90c4d2e.tar.gz
Upgrade rust/crates/pin-project to 1.0.7
Test: make Change-Id: I9cb8c4f9c94d68c5775ee9a360f4e882a836e186
Diffstat (limited to 'tests/ui/pin_project/add-attr-to-struct.rs')
-rw-r--r--tests/ui/pin_project/add-attr-to-struct.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/pin_project/add-attr-to-struct.rs b/tests/ui/pin_project/add-attr-to-struct.rs
index 55f1561..045e796 100644
--- a/tests/ui/pin_project/add-attr-to-struct.rs
+++ b/tests/ui/pin_project/add-attr-to-struct.rs
@@ -1,6 +1,7 @@
+use std::marker::PhantomPinned;
+
use auxiliary_macro::add_pin_attr;
use pin_project::pin_project;
-use std::marker::PhantomPinned;
#[pin_project]
#[add_pin_attr(struct)] //~ ERROR duplicate #[pin] attribute