File tree Expand file tree Collapse file tree 4 files changed +129
-140
lines changed
Expand file tree Collapse file tree 4 files changed +129
-140
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,26 @@ rand_xorshift = "0.4.*"
2121derive_serdes = [" serde" , " smallvec/serde" ]
2222
2323[lints .rust ]
24- unknown-lints = " deny"
24+ ambiguous-negative-literals = " warn"
25+ closure-returning-async-block = " warn"
26+ explicit-outlives-requirements = " warn"
27+ linker-messages = " warn"
28+ meta-variable-misuse = " warn"
29+ redundant-lifetimes = " warn"
30+ trivial-numeric-casts = " warn"
31+ unit-bindings = " warn"
32+ unknown-lints = " warn"
33+ unnameable-types = " warn"
34+ unreachable-pub = " warn"
35+ unused-extern-crates = " warn"
36+ unused-import-braces = " warn"
37+ unused-lifetimes = " warn"
38+ unused-macro-rules = " warn"
39+ unused-qualifications = " warn"
2540
2641[lints .clippy ]
42+ single-component-path-imports = " allow"
43+ # additional lints
2744allow-attributes = " warn"
2845assertions-on-result-states = " warn"
2946bool-to-int-with-if = " warn"
Original file line number Diff line number Diff line change 1- extern crate range_set;
2-
31use range_set:: { range_set, RangeSet } ;
42use std:: ops:: RangeInclusive ;
53
Original file line number Diff line number Diff line change 1- extern crate range_set;
21use range_set:: { range_set, RangeSet } ;
32
43fn main ( ) {
You can’t perform that action at this time.
0 commit comments