@@ -20,179 +20,179 @@ LL | #![allow(clippy::for_loop_over_fallibles)]
20
20
|
21
21
= note: `-D unknown-lints` implied by `-D warnings`
22
22
23
- error: lint `clippy::cyclomatic_complexity ` has been renamed to `clippy::cognitive_complexity `
23
+ error: lint `clippy::stutter ` has been renamed to `clippy::module_name_repetitions `
24
24
--> $DIR/rename.rs:33:9
25
25
|
26
+ LL | #![warn(clippy::stutter)]
27
+ | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
28
+
29
+ error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
30
+ --> $DIR/rename.rs:34:9
31
+ |
32
+ LL | #![warn(clippy::new_without_default_derive)]
33
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
34
+
35
+ error: lint `clippy::const_static_lifetime` has been renamed to `clippy::redundant_static_lifetimes`
36
+ --> $DIR/rename.rs:35:9
37
+ |
38
+ LL | #![warn(clippy::const_static_lifetime)]
39
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_static_lifetimes`
40
+
41
+ error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
42
+ --> $DIR/rename.rs:36:9
43
+ |
26
44
LL | #![warn(clippy::cyclomatic_complexity)]
27
45
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
28
46
29
47
error: lint `clippy::mem_discriminant_non_enum` has been renamed to `enum_intrinsics_non_enums`
30
- --> $DIR/rename.rs:34 :9
48
+ --> $DIR/rename.rs:37 :9
31
49
|
32
50
LL | #![warn(clippy::mem_discriminant_non_enum)]
33
51
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `enum_intrinsics_non_enums`
34
52
35
53
error: lint `clippy::option_and_then_some` has been renamed to `clippy::bind_instead_of_map`
36
- --> $DIR/rename.rs:35 :9
54
+ --> $DIR/rename.rs:38 :9
37
55
|
38
56
LL | #![warn(clippy::option_and_then_some)]
39
57
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::bind_instead_of_map`
40
58
41
59
error: lint `clippy::box_vec` has been renamed to `clippy::box_collection`
42
- --> $DIR/rename.rs:36 :9
60
+ --> $DIR/rename.rs:39 :9
43
61
|
44
62
LL | #![warn(clippy::box_vec)]
45
63
| ^^^^^^^^^^^^^^^ help: use the new name: `clippy::box_collection`
46
64
47
65
error: lint `clippy::option_map_unwrap_or` has been renamed to `clippy::map_unwrap_or`
48
- --> $DIR/rename.rs:37 :9
66
+ --> $DIR/rename.rs:40 :9
49
67
|
50
68
LL | #![warn(clippy::option_map_unwrap_or)]
51
69
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
52
70
53
71
error: lint `clippy::option_map_unwrap_or_else` has been renamed to `clippy::map_unwrap_or`
54
- --> $DIR/rename.rs:38 :9
72
+ --> $DIR/rename.rs:41 :9
55
73
|
56
74
LL | #![warn(clippy::option_map_unwrap_or_else)]
57
75
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
58
76
59
77
error: lint `clippy::result_map_unwrap_or_else` has been renamed to `clippy::map_unwrap_or`
60
- --> $DIR/rename.rs:39 :9
78
+ --> $DIR/rename.rs:42 :9
61
79
|
62
80
LL | #![warn(clippy::result_map_unwrap_or_else)]
63
81
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
64
82
65
83
error: lint `clippy::option_unwrap_used` has been renamed to `clippy::unwrap_used`
66
- --> $DIR/rename.rs:40 :9
84
+ --> $DIR/rename.rs:43 :9
67
85
|
68
86
LL | #![warn(clippy::option_unwrap_used)]
69
87
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unwrap_used`
70
88
71
89
error: lint `clippy::result_unwrap_used` has been renamed to `clippy::unwrap_used`
72
- --> $DIR/rename.rs:41 :9
90
+ --> $DIR/rename.rs:44 :9
73
91
|
74
92
LL | #![warn(clippy::result_unwrap_used)]
75
93
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unwrap_used`
76
94
77
95
error: lint `clippy::option_expect_used` has been renamed to `clippy::expect_used`
78
- --> $DIR/rename.rs:42 :9
96
+ --> $DIR/rename.rs:45 :9
79
97
|
80
98
LL | #![warn(clippy::option_expect_used)]
81
99
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::expect_used`
82
100
83
101
error: lint `clippy::result_expect_used` has been renamed to `clippy::expect_used`
84
- --> $DIR/rename.rs:43 :9
102
+ --> $DIR/rename.rs:46 :9
85
103
|
86
104
LL | #![warn(clippy::result_expect_used)]
87
105
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::expect_used`
88
106
89
107
error: lint `clippy::for_loop_over_option` has been renamed to `clippy::for_loops_over_fallibles`
90
- --> $DIR/rename.rs:44 :9
108
+ --> $DIR/rename.rs:47 :9
91
109
|
92
110
LL | #![warn(clippy::for_loop_over_option)]
93
111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::for_loops_over_fallibles`
94
112
95
113
error: lint `clippy::for_loop_over_result` has been renamed to `clippy::for_loops_over_fallibles`
96
- --> $DIR/rename.rs:45 :9
114
+ --> $DIR/rename.rs:48 :9
97
115
|
98
116
LL | #![warn(clippy::for_loop_over_result)]
99
117
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::for_loops_over_fallibles`
100
118
101
119
error: lint `clippy::identity_conversion` has been renamed to `clippy::useless_conversion`
102
- --> $DIR/rename.rs:46 :9
120
+ --> $DIR/rename.rs:49 :9
103
121
|
104
122
LL | #![warn(clippy::identity_conversion)]
105
123
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::useless_conversion`
106
124
107
125
error: lint `clippy::zero_width_space` has been renamed to `clippy::invisible_characters`
108
- --> $DIR/rename.rs:47 :9
126
+ --> $DIR/rename.rs:50 :9
109
127
|
110
128
LL | #![warn(clippy::zero_width_space)]
111
129
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::invisible_characters`
112
130
113
131
error: lint `clippy::single_char_push_str` has been renamed to `clippy::single_char_add_str`
114
- --> $DIR/rename.rs:48 :9
132
+ --> $DIR/rename.rs:51 :9
115
133
|
116
134
LL | #![warn(clippy::single_char_push_str)]
117
135
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::single_char_add_str`
118
136
119
137
error: lint `clippy::if_let_some_result` has been renamed to `clippy::match_result_ok`
120
- --> $DIR/rename.rs:49 :9
138
+ --> $DIR/rename.rs:52 :9
121
139
|
122
140
LL | #![warn(clippy::if_let_some_result)]
123
141
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::match_result_ok`
124
142
125
143
error: lint `clippy::invalid_ref` has been renamed to `invalid_value`
126
- --> $DIR/rename.rs:51 :9
144
+ --> $DIR/rename.rs:54 :9
127
145
|
128
146
LL | #![warn(clippy::invalid_ref)]
129
147
| ^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_value`
130
148
131
149
error: lint `clippy::into_iter_on_array` has been renamed to `array_into_iter`
132
- --> $DIR/rename.rs:52 :9
150
+ --> $DIR/rename.rs:55 :9
133
151
|
134
152
LL | #![warn(clippy::into_iter_on_array)]
135
153
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `array_into_iter`
136
154
137
155
error: lint `clippy::unused_label` has been renamed to `unused_labels`
138
- --> $DIR/rename.rs:53 :9
156
+ --> $DIR/rename.rs:56 :9
139
157
|
140
158
LL | #![warn(clippy::unused_label)]
141
159
| ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_labels`
142
160
143
161
error: lint `clippy::drop_bounds` has been renamed to `drop_bounds`
144
- --> $DIR/rename.rs:54 :9
162
+ --> $DIR/rename.rs:57 :9
145
163
|
146
164
LL | #![warn(clippy::drop_bounds)]
147
165
| ^^^^^^^^^^^^^^^^^^^ help: use the new name: `drop_bounds`
148
166
149
167
error: lint `clippy::temporary_cstring_as_ptr` has been renamed to `temporary_cstring_as_ptr`
150
- --> $DIR/rename.rs:55 :9
168
+ --> $DIR/rename.rs:58 :9
151
169
|
152
170
LL | #![warn(clippy::temporary_cstring_as_ptr)]
153
171
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `temporary_cstring_as_ptr`
154
172
155
173
error: lint `clippy::panic_params` has been renamed to `non_fmt_panics`
156
- --> $DIR/rename.rs:56 :9
174
+ --> $DIR/rename.rs:59 :9
157
175
|
158
176
LL | #![warn(clippy::panic_params)]
159
177
| ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panics`
160
178
161
179
error: lint `clippy::unknown_clippy_lints` has been renamed to `unknown_lints`
162
- --> $DIR/rename.rs:57 :9
180
+ --> $DIR/rename.rs:60 :9
163
181
|
164
182
LL | #![warn(clippy::unknown_clippy_lints)]
165
183
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unknown_lints`
166
184
167
185
error: lint `clippy::invalid_atomic_ordering` has been renamed to `invalid_atomic_ordering`
168
- --> $DIR/rename.rs:58 :9
186
+ --> $DIR/rename.rs:61 :9
169
187
|
170
188
LL | #![warn(clippy::invalid_atomic_ordering)]
171
189
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_atomic_ordering`
172
190
173
191
error: lint `clippy::mem_discriminant_non_enum` has been renamed to `enum_intrinsics_non_enums`
174
- --> $DIR/rename.rs:59 :9
192
+ --> $DIR/rename.rs:62 :9
175
193
|
176
194
LL | #![warn(clippy::mem_discriminant_non_enum)]
177
195
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `enum_intrinsics_non_enums`
178
196
179
- error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`
180
- --> $DIR/rename.rs:61:8
181
- |
182
- LL | #[warn(clippy::stutter)]
183
- | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
184
-
185
- error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
186
- --> $DIR/rename.rs:64:8
187
- |
188
- LL | #[warn(clippy::new_without_default_derive)]
189
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
190
-
191
- error: lint `clippy::const_static_lifetime` has been renamed to `clippy::redundant_static_lifetimes`
192
- --> $DIR/rename.rs:67:8
193
- |
194
- LL | #[warn(clippy::const_static_lifetime)]
195
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_static_lifetimes`
196
-
197
197
error: aborting due to 32 previous errors
198
198
0 commit comments