Skip to content

Commit 6e6661c

Browse files
committed
Warn on lossy provenance casts
Signed-off-by: Martin Kröning <[email protected]>
1 parent d612321 commit 6e6661c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#![warn(unsafe_op_in_unsafe_fn)]
77
#![warn(clippy::transmute_ptr_to_ptr)]
88
#![warn(fuzzy_provenance_casts)]
9+
#![warn(lossy_provenance_casts)]
910
#![allow(clippy::missing_safety_doc)]
1011
#![cfg_attr(target_arch = "aarch64", allow(incomplete_features))]
1112
#![cfg_attr(target_arch = "x86_64", feature(abi_x86_interrupt))]

0 commit comments

Comments
 (0)