aboutsummaryrefslogtreecommitdiff
path: root/tests/expand/naming/struct-own.expanded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expand/naming/struct-own.expanded.rs')
-rw-r--r--tests/expand/naming/struct-own.expanded.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expand/naming/struct-own.expanded.rs b/tests/expand/naming/struct-own.expanded.rs
index 0c1fc76..899166f 100644
--- a/tests/expand/naming/struct-own.expanded.rs
+++ b/tests/expand/naming/struct-own.expanded.rs
@@ -111,7 +111,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;