Skip to content

Commit c492eaa

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

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
@@ -7,6 +7,7 @@
77
#![warn(clippy::uninlined_format_args)]
88
#![warn(clippy::transmute_ptr_to_ptr)]
99
#![warn(fuzzy_provenance_casts)]
10+
#![warn(lossy_provenance_casts)]
1011
#![allow(clippy::missing_safety_doc)]
1112
#![cfg_attr(target_arch = "aarch64", allow(incomplete_features))]
1213
#![cfg_attr(target_arch = "x86_64", feature(abi_x86_interrupt))]

0 commit comments

Comments
 (0)