aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/naming/struct-ref.expanded.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/expand/naming/struct-ref.expanded.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/expand/naming/struct-ref.expanded.rs')
-rw-r--r--tests/expand/naming/struct-ref.expanded.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expand/naming/struct-ref.expanded.rs b/tests/expand/naming/struct-ref.expanded.rs
index 3f52ac5..f636f10 100644
--- a/tests/expand/naming/struct-ref.expanded.rs
+++ b/tests/expand/naming/struct-ref.expanded.rs
@@ -77,7 +77,7 @@ const _: () = {
}
}
}
- #[forbid(safe_packed_borrows)]
+ #[forbid(unaligned_references, safe_packed_borrows)]
fn __assert_not_repr_packed<T, U>(this: &Struct<T, U>) {
let _ = &this.pinned;
let _ = &this.unpinned;