aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/default/struct.expanded.rs
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-27 16:38:49 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-27 16:38:49 +0000
commita5c0a13309164da22025014778cf4d794aec96a6 (patch)
treea2808291a9d00789d7f23e0e6bc9e133aace307a /tests/expand/default/struct.expanded.rs
parent4eafa0cc0e589d8dd142ef7d2c30718b0f9c0e5b (diff)
parentfcb335e6ca1967ccc95468d5c8ea80541c14d9ef (diff)
downloadpin-project-a5c0a13309164da22025014778cf4d794aec96a6.tar.gz
Upgrade rust/crates/pin-project to 1.0.7 am: c95dc51644 am: b845c5fd84 am: fcb335e6ca
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1713049 Change-Id: Ic50e02a253e1644202b2133a68c1b2112ea1773c
Diffstat (limited to 'tests/expand/default/struct.expanded.rs')
-rw-r--r--tests/expand/default/struct.expanded.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expand/default/struct.expanded.rs b/tests/expand/default/struct.expanded.rs
index 2528ece..70f04ef 100644
--- a/tests/expand/default/struct.expanded.rs
+++ b/tests/expand/default/struct.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;