X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fderives%2Fderiving-with-repr-packed.rs;h=b78eeaa90551b067b35d85500e61c68ff2b0effe;hb=ad2a80e412768fd2c9a162a3b68e1489af446f2f;hp=d354cef66bc06cfbc2af8a4d14bcdab6379b0bfc;hpb=fb3a01354ffecc41d7a189e4dd225d706387a522;p=rust.git diff --git a/src/test/ui/derives/deriving-with-repr-packed.rs b/src/test/ui/derives/deriving-with-repr-packed.rs index d354cef66bc..b78eeaa9055 100644 --- a/src/test/ui/derives/deriving-with-repr-packed.rs +++ b/src/test/ui/derives/deriving-with-repr-packed.rs @@ -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