aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/naming/struct-ref.expanded.rs
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-27 16:11:54 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-27 16:11:54 +0000
commitfcb335e6ca1967ccc95468d5c8ea80541c14d9ef (patch)
treea2808291a9d00789d7f23e0e6bc9e133aace307a /tests/expand/naming/struct-ref.expanded.rs
parent4eafa0cc0e589d8dd142ef7d2c30718b0f9c0e5b (diff)
parentb845c5fd84f50f28cd5cce350eac405562744e3b (diff)
downloadpin-project-fcb335e6ca1967ccc95468d5c8ea80541c14d9ef.tar.gz
Upgrade rust/crates/pin-project to 1.0.7 am: c95dc51644 am: b845c5fd84
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1713049 Change-Id: Iffa76ddb8d7768585214b1b10204d6f61a40d420
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;