aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/multifields/tuple_struct.expanded.rs
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-27 15:42:45 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-27 15:42:45 +0000
commitb845c5fd84f50f28cd5cce350eac405562744e3b (patch)
treea2808291a9d00789d7f23e0e6bc9e133aace307a /tests/expand/multifields/tuple_struct.expanded.rs
parent2985289ffb56db1a2cf157e4b6874d18496b2c35 (diff)
parentc95dc516440636acb2e9f0b61e3a4595a90c4d2e (diff)
downloadpin-project-b845c5fd84f50f28cd5cce350eac405562744e3b.tar.gz
Upgrade rust/crates/pin-project to 1.0.7 am: c95dc51644android-s-beta-4android-s-beta-3android-s-beta-4
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1713049 Change-Id: I83082aeac5db98559efa3c9c5ccf4df14e0ff691
Diffstat (limited to 'tests/expand/multifields/tuple_struct.expanded.rs')
-rw-r--r--tests/expand/multifields/tuple_struct.expanded.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expand/multifields/tuple_struct.expanded.rs b/tests/expand/multifields/tuple_struct.expanded.rs
index 28e7fd8..aef8f8d 100644
--- a/tests/expand/multifields/tuple_struct.expanded.rs
+++ b/tests/expand/multifields/tuple_struct.expanded.rs
@@ -118,7 +118,7 @@ const _: () = {
}
}
}
- #[forbid(safe_packed_borrows)]
+ #[forbid(unaligned_references, safe_packed_borrows)]
fn __assert_not_repr_packed<T, U>(this: &TupleStruct<T, U>) {
let _ = &this.0;
let _ = &this.1;