Skip to content

Commit 1a27d8e

Browse files
authored
Merge pull request #584 from RalfJung/strict-provenance
add back strict provenance lint
2 parents dd56b3b + c74e3b9 commit 1a27d8e

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)