Skip to content

Commit

Permalink
fix: warn on lossy provenance casts
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
  • Loading branch information
mkroening committed Apr 4, 2024
1 parent 5fef33b commit 3aa7b62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#![warn(clippy::uninlined_format_args)]
#![warn(clippy::transmute_ptr_to_ptr)]
#![warn(fuzzy_provenance_casts)]
#![warn(lossy_provenance_casts)]
#![allow(clippy::missing_safety_doc)]
#![cfg_attr(
any(target_arch = "aarch64", target_arch = "riscv64"),
Expand Down

0 comments on commit 3aa7b62

Please sign in to comment.