@@ -5,7 +5,8 @@ pub use lint::Level;
55pub use lint:: Lint ;
66pub use lint:: LINT_LEVELS ;
77
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 ] = [
910 Lint {
1011 name : "absurd_extreme_comparisons" ,
1112 group : "correctness" ,
@@ -251,13 +252,6 @@ pub const ALL_LINTS: [Lint; 304] = [
251252 deprecation : None ,
252253 module : "collapsible_if" ,
253254 } ,
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- } ,
261255 Lint {
262256 name : "copy_iterator" ,
263257 group : "pedantic" ,
@@ -762,6 +756,13 @@ pub const ALL_LINTS: [Lint; 304] = [
762756 deprecation : None ,
763757 module : "arithmetic" ,
764758 } ,
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+ } ,
765766 Lint {
766767 name : "into_iter_on_array" ,
767768 group : "correctness" ,
@@ -1525,6 +1526,13 @@ pub const ALL_LINTS: [Lint; 304] = [
15251526 deprecation : None ,
15261527 module : "redundant_pattern_matching" ,
15271528 } ,
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+ } ,
15281536 Lint {
15291537 name : "ref_in_deref" ,
15301538 group : "complexity" ,
@@ -2135,3 +2143,4 @@ pub const ALL_LINTS: [Lint; 304] = [
21352143 module : "unicode" ,
21362144 } ,
21372145] ;
2146+ // end lint list, do not remove this comment, it’s used in `update_lints`
0 commit comments