Skip to content

Commit c74e3b9

Browse files
committed
add back strict provenance lint
1 parent dd56b3b commit c74e3b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
allocator_api,
2222
slice_ptr_get,
2323
maybe_uninit_array_assume_init,
24+
strict_provenance_lints
2425
)
2526
)]
2627
#![allow(
@@ -35,6 +36,7 @@
3536
)]
3637
#![warn(missing_docs)]
3738
#![warn(rust_2018_idioms)]
39+
#![cfg_attr(feature = "nightly", warn(fuzzy_provenance_casts))]
3840
#![cfg_attr(feature = "nightly", allow(internal_features))]
3941

4042
/// Default hasher for [`HashMap`] and [`HashSet`].

0 commit comments

Comments
 (0)