aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/not_unpin/tuple_struct.expanded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expand/not_unpin/tuple_struct.expanded.rs')
-rw-r--r--tests/expand/not_unpin/tuple_struct.expanded.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expand/not_unpin/tuple_struct.expanded.rs b/tests/expand/not_unpin/tuple_struct.expanded.rs
index 89a257e..8bc6bbc 100644
--- a/tests/expand/not_unpin/tuple_struct.expanded.rs
+++ b/tests/expand/not_unpin/tuple_struct.expanded.rs
@@ -65,7 +65,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;