Resolve safe_packed_borrows lint renamed to unaligned_references
warning: lint `safe_packed_borrows` has been renamed to `unaligned_references` --> test_suite/tests/test_macros.rs:1926:8 | 1926 | #[deny(safe_packed_borrows)] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `unaligned_references` | = note: `#[warn(renamed_and_removed_lints)]` on by default
This commit is contained in:
parent
6c3bf7a2fc
commit
b53ebef438
@ -1923,7 +1923,7 @@ fn test_internally_tagged_newtype_variant_containing_unit_struct() {
|
||||
);
|
||||
}
|
||||
|
||||
#[deny(safe_packed_borrows)]
|
||||
#[deny(unaligned_references)]
|
||||
#[test]
|
||||
fn test_packed_struct_can_derive_serialize() {
|
||||
#[derive(Copy, Clone, Serialize)]
|
||||
|
Loading…
Reference in New Issue
Block a user