aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/naming/tuple_struct-all.expanded.rs
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-27 17:00:46 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-27 17:00:46 +0000
commit5dbc7a39961945cd9d065d0a9fdc25711376574f (patch)
treea2808291a9d00789d7f23e0e6bc9e133aace307a /tests/expand/naming/tuple_struct-all.expanded.rs
parent3a092f9e543f72e7ee1abc39a7cf49d8d96b25fe (diff)
parenta5c0a13309164da22025014778cf4d794aec96a6 (diff)
downloadpin-project-5dbc7a39961945cd9d065d0a9fdc25711376574f.tar.gz
Upgrade rust/crates/pin-project to 1.0.7 am: c95dc51644 am: b845c5fd84 am: fcb335e6ca am: a5c0a13309
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1713049 Change-Id: Ie859a9fc877c4ed769bf408a396e775cb361898b
Diffstat (limited to 'tests/expand/naming/tuple_struct-all.expanded.rs')
-rw-r--r--tests/expand/naming/tuple_struct-all.expanded.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expand/naming/tuple_struct-all.expanded.rs b/tests/expand/naming/tuple_struct-all.expanded.rs
index 325b9db..e4032be 100644
--- a/tests/expand/naming/tuple_struct-all.expanded.rs
+++ b/tests/expand/naming/tuple_struct-all.expanded.rs
@@ -88,7 +88,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;