Skip to content

Commit 36e8440

Browse files
Merge pull request #168 from tgonzalezorlandoarm/tg/wrong_lints
Change lints for the library and allow unknown lints
2 parents 467977e + 12a6678 commit 36e8440

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cryptoki/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
2121
// This list comes from
2222
// https://github.com/rust-unofficial/patterns/blob/master/anti_patterns/deny-warnings.md
23+
#![allow(renamed_and_removed_lints, unknown_lints)]
2324
#![deny(bad_style,
2425
dead_code,
2526
improper_ctypes,
@@ -28,8 +29,12 @@
2829
overflowing_literals,
2930
path_statements ,
3031
patterns_in_fns_without_body,
32+
private_bounds,
3133
private_in_public,
34+
private_interfaces,
35+
renamed_and_removed_lints,
3236
unconditional_recursion,
37+
unnameable_types,
3338
unused,
3439
unused_allocation,
3540
unused_comparisons,

0 commit comments

Comments
 (0)