@@ -5,7 +5,8 @@ pub use lint::Level;
5
5
pub use lint:: Lint ;
6
6
pub use lint:: LINT_LEVELS ;
7
7
8
- pub const ALL_LINTS : [ Lint ; 304 ] = [
8
+ // begin lint list, do not remove this comment, it’s used in `update_lints`
9
+ pub const ALL_LINTS : [ Lint ; 305 ] = [
9
10
Lint {
10
11
name : "absurd_extreme_comparisons" ,
11
12
group : "correctness" ,
@@ -251,13 +252,6 @@ pub const ALL_LINTS: [Lint; 304] = [
251
252
deprecation : None ,
252
253
module : "collapsible_if" ,
253
254
} ,
254
- Lint {
255
- name : "const_static_lifetime" ,
256
- group : "style" ,
257
- desc : "Using explicit `\' static` lifetime for constants when elision rules would allow omitting them." ,
258
- deprecation : None ,
259
- module : "const_static_lifetime" ,
260
- } ,
261
255
Lint {
262
256
name : "copy_iterator" ,
263
257
group : "pedantic" ,
@@ -762,6 +756,13 @@ pub const ALL_LINTS: [Lint; 304] = [
762
756
deprecation : None ,
763
757
module : "arithmetic" ,
764
758
} ,
759
+ Lint {
760
+ name : "integer_division" ,
761
+ group : "pedantic" ,
762
+ desc : "integer division may cause loss of precision" ,
763
+ deprecation : None ,
764
+ module : "integer_division" ,
765
+ } ,
765
766
Lint {
766
767
name : "into_iter_on_array" ,
767
768
group : "correctness" ,
@@ -1525,6 +1526,13 @@ pub const ALL_LINTS: [Lint; 304] = [
1525
1526
deprecation : None ,
1526
1527
module : "redundant_pattern_matching" ,
1527
1528
} ,
1529
+ Lint {
1530
+ name : "redundant_static_lifetimes" ,
1531
+ group : "style" ,
1532
+ desc : "Using explicit `\' static` lifetime for constants or statics when elision rules would allow omitting them." ,
1533
+ deprecation : None ,
1534
+ module : "redundant_static_lifetimes" ,
1535
+ } ,
1528
1536
Lint {
1529
1537
name : "ref_in_deref" ,
1530
1538
group : "complexity" ,
@@ -2135,3 +2143,4 @@ pub const ALL_LINTS: [Lint; 304] = [
2135
2143
module : "unicode" ,
2136
2144
} ,
2137
2145
] ;
2146
+ // end lint list, do not remove this comment, it’s used in `update_lints`
0 commit comments