Delete deny(unaligned_references) from test

warning: lint `unaligned_references` has been removed: converted into hard error, see issue  <https://github.com/rust-lang/rust/issues/82523> for more information
        --> test_suite/tests/test_macros.rs:1931:8
         |
    1931 | #[deny(unaligned_references)]
         |        ^^^^^^^^^^^^^^^^^^^^
         |
         = note: `#[warn(renamed_and_removed_lints)]` on by default
This commit is contained in:
David Tolnay 2023-02-01 19:06:01 -08:00
parent dd27ec8703
commit 14b0e18c57
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

@ -1928,7 +1928,6 @@ fn test_internally_tagged_newtype_variant_containing_unit_struct() {
);
}
#[deny(unaligned_references)]
#[test]
fn test_packed_struct_can_derive_serialize() {
#[derive(Copy, Clone, Serialize)]