]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/derives/deriving-with-repr-packed.rs
Rollup merge of #83571 - a1phyr:feature_const_slice_first_last, r=dtolnay
[rust.git] / src / test / ui / derives / deriving-with-repr-packed.rs
index d354cef66bc06cfbc2af8a4d14bcdab6379b0bfc..b78eeaa90551b067b35d85500e61c68ff2b0effe 100644 (file)
@@ -1,4 +1,4 @@
-#![deny(safe_packed_borrows)]
+#![deny(unaligned_references)]
 
 // check that derive on a packed struct with non-Copy fields
 // correctly. This can't be made to work perfectly because