Skip to content

Commit

Permalink
remove allow unaligned_references, converted to hard error
Browse files Browse the repository at this point in the history
This fixes the warning:

warning: lint `unaligned_references` has been removed: converted into
hard error, see issue #82523
<rust-lang/rust#82523> for more information
  • Loading branch information
spearman committed Apr 17, 2023
1 parent 7cf32ba commit a10881a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(improper_ctypes)]
#![allow(unaligned_references)]
#![allow(deref_nullptr)]

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
Expand Down

0 comments on commit a10881a

Please sign in to comment.