diff options
author | Joel Galenson <jgalenson@google.com> | 2021-05-19 16:12:52 -0700 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-05-19 16:12:52 -0700 |
commit | c95dc516440636acb2e9f0b61e3a4595a90c4d2e (patch) | |
tree | a2808291a9d00789d7f23e0e6bc9e133aace307a /examples/not_unpin-expanded.rs | |
parent | 1a7271af628c203700f21c3b3eac18bbd7373340 (diff) | |
download | pin-project-c95dc516440636acb2e9f0b61e3a4595a90c4d2e.tar.gz |
Upgrade rust/crates/pin-project to 1.0.7
Test: make
Change-Id: I9cb8c4f9c94d68c5775ee9a360f4e882a836e186
Diffstat (limited to 'examples/not_unpin-expanded.rs')
-rw-r--r-- | examples/not_unpin-expanded.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/not_unpin-expanded.rs b/examples/not_unpin-expanded.rs index aa5209d..5700c12 100644 --- a/examples/not_unpin-expanded.rs +++ b/examples/not_unpin-expanded.rs @@ -76,7 +76,7 @@ const _: () = { // // See ./struct-default-expanded.rs and https://github.com/taiki-e/pin-project/pull/34 // for details. - #[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; |