Skip to content

Commit

Permalink
Delete deny(unaligned_references) from test
Browse files Browse the repository at this point in the history
    warning: lint `unaligned_references` has been removed: converted into hard error, see issue #82523 <rust-lang/rust#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
  • Loading branch information
dtolnay committed Feb 2, 2023
1 parent dd27ec8 commit 14b0e18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test_suite/tests/test_macros.rs
Expand Up @@ -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)]
Expand Down

0 comments on commit 14b0e18

Please sign in to comment.