@@ -73,132 +73,132 @@ error: lint `clippy::eval_order_dependence` has been renamed to `clippy::mixed_r
73
73
LL | #![warn(clippy::eval_order_dependence)]
74
74
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::mixed_read_write_in_expression`
75
75
76
- error: lint `clippy::find_map` has been renamed to `clippy::manual_find_map`
77
- --> tests/ui/rename.rs:77:9
78
- |
79
- LL | #![warn(clippy::find_map)]
80
- | ^^^^^^^^^^^^^^^^ help: use the new name: `clippy::manual_find_map`
81
-
82
76
error: lint `clippy::filter_map` has been renamed to `clippy::manual_filter_map`
83
- --> tests/ui/rename.rs:78 :9
77
+ --> tests/ui/rename.rs:77 :9
84
78
|
85
79
LL | #![warn(clippy::filter_map)]
86
80
| ^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::manual_filter_map`
87
81
88
- error: lint `clippy::fn_address_comparisons ` has been renamed to `unpredictable_function_pointer_comparisons `
89
- --> tests/ui/rename.rs:79 :9
82
+ error: lint `clippy::find_map ` has been renamed to `clippy::manual_find_map `
83
+ --> tests/ui/rename.rs:78 :9
90
84
|
91
- LL | #![warn(clippy::fn_address_comparisons )]
92
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unpredictable_function_pointer_comparisons `
85
+ LL | #![warn(clippy::find_map )]
86
+ | ^^^^^^^^^^^^^^^^ help: use the new name: `clippy::manual_find_map `
93
87
94
88
error: lint `clippy::identity_conversion` has been renamed to `clippy::useless_conversion`
95
- --> tests/ui/rename.rs:80 :9
89
+ --> tests/ui/rename.rs:79 :9
96
90
|
97
91
LL | #![warn(clippy::identity_conversion)]
98
92
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::useless_conversion`
99
93
100
94
error: lint `clippy::if_let_redundant_pattern_matching` has been renamed to `clippy::redundant_pattern_matching`
101
- --> tests/ui/rename.rs:81 :9
95
+ --> tests/ui/rename.rs:80 :9
102
96
|
103
97
LL | #![warn(clippy::if_let_redundant_pattern_matching)]
104
98
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_pattern_matching`
105
99
106
100
error: lint `clippy::if_let_some_result` has been renamed to `clippy::match_result_ok`
107
- --> tests/ui/rename.rs:82 :9
101
+ --> tests/ui/rename.rs:81 :9
108
102
|
109
103
LL | #![warn(clippy::if_let_some_result)]
110
104
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::match_result_ok`
111
105
112
106
error: lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`
113
- --> tests/ui/rename.rs:83 :9
107
+ --> tests/ui/rename.rs:82 :9
114
108
|
115
109
LL | #![warn(clippy::incorrect_clone_impl_on_copy_type)]
116
110
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_clone_impl`
117
111
118
112
error: lint `clippy::incorrect_partial_ord_impl_on_ord_type` has been renamed to `clippy::non_canonical_partial_ord_impl`
119
- --> tests/ui/rename.rs:84 :9
113
+ --> tests/ui/rename.rs:83 :9
120
114
|
121
115
LL | #![warn(clippy::incorrect_partial_ord_impl_on_ord_type)]
122
116
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_partial_ord_impl`
123
117
124
118
error: lint `clippy::integer_arithmetic` has been renamed to `clippy::arithmetic_side_effects`
125
- --> tests/ui/rename.rs:85 :9
119
+ --> tests/ui/rename.rs:84 :9
126
120
|
127
121
LL | #![warn(clippy::integer_arithmetic)]
128
122
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::arithmetic_side_effects`
129
123
130
124
error: lint `clippy::logic_bug` has been renamed to `clippy::overly_complex_bool_expr`
131
- --> tests/ui/rename.rs:86 :9
125
+ --> tests/ui/rename.rs:85 :9
132
126
|
133
127
LL | #![warn(clippy::logic_bug)]
134
128
| ^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::overly_complex_bool_expr`
135
129
136
130
error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
137
- --> tests/ui/rename.rs:87 :9
131
+ --> tests/ui/rename.rs:86 :9
138
132
|
139
133
LL | #![warn(clippy::new_without_default_derive)]
140
134
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
141
135
142
136
error: lint `clippy::option_and_then_some` has been renamed to `clippy::bind_instead_of_map`
143
- --> tests/ui/rename.rs:88 :9
137
+ --> tests/ui/rename.rs:87 :9
144
138
|
145
139
LL | #![warn(clippy::option_and_then_some)]
146
140
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::bind_instead_of_map`
147
141
148
142
error: lint `clippy::option_expect_used` has been renamed to `clippy::expect_used`
149
- --> tests/ui/rename.rs:89 :9
143
+ --> tests/ui/rename.rs:88 :9
150
144
|
151
145
LL | #![warn(clippy::option_expect_used)]
152
146
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::expect_used`
153
147
154
148
error: lint `clippy::option_map_unwrap_or` has been renamed to `clippy::map_unwrap_or`
155
- --> tests/ui/rename.rs:90 :9
149
+ --> tests/ui/rename.rs:89 :9
156
150
|
157
151
LL | #![warn(clippy::option_map_unwrap_or)]
158
152
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
159
153
160
154
error: lint `clippy::option_map_unwrap_or_else` has been renamed to `clippy::map_unwrap_or`
161
- --> tests/ui/rename.rs:91 :9
155
+ --> tests/ui/rename.rs:90 :9
162
156
|
163
157
LL | #![warn(clippy::option_map_unwrap_or_else)]
164
158
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
165
159
166
160
error: lint `clippy::option_unwrap_used` has been renamed to `clippy::unwrap_used`
167
- --> tests/ui/rename.rs:92 :9
161
+ --> tests/ui/rename.rs:91 :9
168
162
|
169
163
LL | #![warn(clippy::option_unwrap_used)]
170
164
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unwrap_used`
171
165
172
166
error: lint `clippy::overflow_check_conditional` has been renamed to `clippy::panicking_overflow_checks`
173
- --> tests/ui/rename.rs:93 :9
167
+ --> tests/ui/rename.rs:92 :9
174
168
|
175
169
LL | #![warn(clippy::overflow_check_conditional)]
176
170
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::panicking_overflow_checks`
177
171
178
172
error: lint `clippy::ref_in_deref` has been renamed to `clippy::needless_borrow`
179
- --> tests/ui/rename.rs:94 :9
173
+ --> tests/ui/rename.rs:93 :9
180
174
|
181
175
LL | #![warn(clippy::ref_in_deref)]
182
176
| ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::needless_borrow`
183
177
184
178
error: lint `clippy::result_expect_used` has been renamed to `clippy::expect_used`
185
- --> tests/ui/rename.rs:95 :9
179
+ --> tests/ui/rename.rs:94 :9
186
180
|
187
181
LL | #![warn(clippy::result_expect_used)]
188
182
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::expect_used`
189
183
190
184
error: lint `clippy::result_map_unwrap_or_else` has been renamed to `clippy::map_unwrap_or`
191
- --> tests/ui/rename.rs:96 :9
185
+ --> tests/ui/rename.rs:95 :9
192
186
|
193
187
LL | #![warn(clippy::result_map_unwrap_or_else)]
194
188
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
195
189
196
190
error: lint `clippy::result_unwrap_used` has been renamed to `clippy::unwrap_used`
197
- --> tests/ui/rename.rs:97 :9
191
+ --> tests/ui/rename.rs:96 :9
198
192
|
199
193
LL | #![warn(clippy::result_unwrap_used)]
200
194
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unwrap_used`
201
195
196
+ error: lint `clippy::reverse_range_loop` has been renamed to `clippy::reversed_empty_ranges`
197
+ --> tests/ui/rename.rs:97:9
198
+ |
199
+ LL | #![warn(clippy::reverse_range_loop)]
200
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::reversed_empty_ranges`
201
+
202
202
error: lint `clippy::single_char_push_str` has been renamed to `clippy::single_char_add_str`
203
203
--> tests/ui/rename.rs:98:9
204
204
|
@@ -253,155 +253,161 @@ error: lint `clippy::cmp_nan` has been renamed to `invalid_nan_comparisons`
253
253
LL | #![warn(clippy::cmp_nan)]
254
254
| ^^^^^^^^^^^^^^^ help: use the new name: `invalid_nan_comparisons`
255
255
256
- error: lint `clippy::drop_bounds ` has been renamed to `drop_bounds `
256
+ error: lint `clippy::double_neg ` has been renamed to `double_negations `
257
257
--> tests/ui/rename.rs:107:9
258
258
|
259
+ LL | #![warn(clippy::double_neg)]
260
+ | ^^^^^^^^^^^^^^^^^^ help: use the new name: `double_negations`
261
+
262
+ error: lint `clippy::drop_bounds` has been renamed to `drop_bounds`
263
+ --> tests/ui/rename.rs:108:9
264
+ |
259
265
LL | #![warn(clippy::drop_bounds)]
260
266
| ^^^^^^^^^^^^^^^^^^^ help: use the new name: `drop_bounds`
261
267
262
268
error: lint `clippy::drop_copy` has been renamed to `dropping_copy_types`
263
- --> tests/ui/rename.rs:108 :9
269
+ --> tests/ui/rename.rs:109 :9
264
270
|
265
271
LL | #![warn(clippy::drop_copy)]
266
272
| ^^^^^^^^^^^^^^^^^ help: use the new name: `dropping_copy_types`
267
273
268
274
error: lint `clippy::drop_ref` has been renamed to `dropping_references`
269
- --> tests/ui/rename.rs:109 :9
275
+ --> tests/ui/rename.rs:110 :9
270
276
|
271
277
LL | #![warn(clippy::drop_ref)]
272
278
| ^^^^^^^^^^^^^^^^ help: use the new name: `dropping_references`
273
279
280
+ error: lint `clippy::fn_address_comparisons` has been renamed to `unpredictable_function_pointer_comparisons`
281
+ --> tests/ui/rename.rs:111:9
282
+ |
283
+ LL | #![warn(clippy::fn_address_comparisons)]
284
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unpredictable_function_pointer_comparisons`
285
+
274
286
error: lint `clippy::fn_null_check` has been renamed to `useless_ptr_null_checks`
275
- --> tests/ui/rename.rs:110 :9
287
+ --> tests/ui/rename.rs:112 :9
276
288
|
277
289
LL | #![warn(clippy::fn_null_check)]
278
290
| ^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `useless_ptr_null_checks`
279
291
280
292
error: lint `clippy::for_loop_over_option` has been renamed to `for_loops_over_fallibles`
281
- --> tests/ui/rename.rs:111 :9
293
+ --> tests/ui/rename.rs:113 :9
282
294
|
283
295
LL | #![warn(clippy::for_loop_over_option)]
284
296
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `for_loops_over_fallibles`
285
297
286
298
error: lint `clippy::for_loop_over_result` has been renamed to `for_loops_over_fallibles`
287
- --> tests/ui/rename.rs:112 :9
299
+ --> tests/ui/rename.rs:114 :9
288
300
|
289
301
LL | #![warn(clippy::for_loop_over_result)]
290
302
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `for_loops_over_fallibles`
291
303
292
304
error: lint `clippy::for_loops_over_fallibles` has been renamed to `for_loops_over_fallibles`
293
- --> tests/ui/rename.rs:113 :9
305
+ --> tests/ui/rename.rs:115 :9
294
306
|
295
307
LL | #![warn(clippy::for_loops_over_fallibles)]
296
308
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `for_loops_over_fallibles`
297
309
298
310
error: lint `clippy::forget_copy` has been renamed to `forgetting_copy_types`
299
- --> tests/ui/rename.rs:114 :9
311
+ --> tests/ui/rename.rs:116 :9
300
312
|
301
313
LL | #![warn(clippy::forget_copy)]
302
314
| ^^^^^^^^^^^^^^^^^^^ help: use the new name: `forgetting_copy_types`
303
315
304
316
error: lint `clippy::forget_ref` has been renamed to `forgetting_references`
305
- --> tests/ui/rename.rs:115 :9
317
+ --> tests/ui/rename.rs:117 :9
306
318
|
307
319
LL | #![warn(clippy::forget_ref)]
308
320
| ^^^^^^^^^^^^^^^^^^ help: use the new name: `forgetting_references`
309
321
310
322
error: lint `clippy::into_iter_on_array` has been renamed to `array_into_iter`
311
- --> tests/ui/rename.rs:116 :9
323
+ --> tests/ui/rename.rs:118 :9
312
324
|
313
325
LL | #![warn(clippy::into_iter_on_array)]
314
326
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `array_into_iter`
315
327
316
328
error: lint `clippy::invalid_atomic_ordering` has been renamed to `invalid_atomic_ordering`
317
- --> tests/ui/rename.rs:117 :9
329
+ --> tests/ui/rename.rs:119 :9
318
330
|
319
331
LL | #![warn(clippy::invalid_atomic_ordering)]
320
332
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_atomic_ordering`
321
333
322
334
error: lint `clippy::invalid_ref` has been renamed to `invalid_value`
323
- --> tests/ui/rename.rs:118 :9
335
+ --> tests/ui/rename.rs:120 :9
324
336
|
325
337
LL | #![warn(clippy::invalid_ref)]
326
338
| ^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_value`
327
339
328
340
error: lint `clippy::invalid_utf8_in_unchecked` has been renamed to `invalid_from_utf8_unchecked`
329
- --> tests/ui/rename.rs:119 :9
341
+ --> tests/ui/rename.rs:121 :9
330
342
|
331
343
LL | #![warn(clippy::invalid_utf8_in_unchecked)]
332
344
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_from_utf8_unchecked`
333
345
334
346
error: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
335
- --> tests/ui/rename.rs:120 :9
347
+ --> tests/ui/rename.rs:122 :9
336
348
|
337
349
LL | #![warn(clippy::let_underscore_drop)]
338
350
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
339
351
340
352
error: lint `clippy::maybe_misused_cfg` has been renamed to `unexpected_cfgs`
341
- --> tests/ui/rename.rs:121 :9
353
+ --> tests/ui/rename.rs:123 :9
342
354
|
343
355
LL | #![warn(clippy::maybe_misused_cfg)]
344
356
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unexpected_cfgs`
345
357
346
358
error: lint `clippy::mem_discriminant_non_enum` has been renamed to `enum_intrinsics_non_enums`
347
- --> tests/ui/rename.rs:122 :9
359
+ --> tests/ui/rename.rs:124 :9
348
360
|
349
361
LL | #![warn(clippy::mem_discriminant_non_enum)]
350
362
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `enum_intrinsics_non_enums`
351
363
352
364
error: lint `clippy::mismatched_target_os` has been renamed to `unexpected_cfgs`
353
- --> tests/ui/rename.rs:123 :9
365
+ --> tests/ui/rename.rs:125 :9
354
366
|
355
367
LL | #![warn(clippy::mismatched_target_os)]
356
368
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unexpected_cfgs`
357
369
358
370
error: lint `clippy::panic_params` has been renamed to `non_fmt_panics`
359
- --> tests/ui/rename.rs:124 :9
371
+ --> tests/ui/rename.rs:126 :9
360
372
|
361
373
LL | #![warn(clippy::panic_params)]
362
374
| ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panics`
363
375
364
376
error: lint `clippy::positional_named_format_parameters` has been renamed to `named_arguments_used_positionally`
365
- --> tests/ui/rename.rs:125 :9
377
+ --> tests/ui/rename.rs:127 :9
366
378
|
367
379
LL | #![warn(clippy::positional_named_format_parameters)]
368
380
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `named_arguments_used_positionally`
369
381
370
382
error: lint `clippy::temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries`
371
- --> tests/ui/rename.rs:126 :9
383
+ --> tests/ui/rename.rs:128 :9
372
384
|
373
385
LL | #![warn(clippy::temporary_cstring_as_ptr)]
374
386
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries`
375
387
376
388
error: lint `clippy::undropped_manually_drops` has been renamed to `undropped_manually_drops`
377
- --> tests/ui/rename.rs:127 :9
389
+ --> tests/ui/rename.rs:129 :9
378
390
|
379
391
LL | #![warn(clippy::undropped_manually_drops)]
380
392
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `undropped_manually_drops`
381
393
382
394
error: lint `clippy::unknown_clippy_lints` has been renamed to `unknown_lints`
383
- --> tests/ui/rename.rs:128 :9
395
+ --> tests/ui/rename.rs:130 :9
384
396
|
385
397
LL | #![warn(clippy::unknown_clippy_lints)]
386
398
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unknown_lints`
387
399
388
400
error: lint `clippy::unused_label` has been renamed to `unused_labels`
389
- --> tests/ui/rename.rs:129 :9
401
+ --> tests/ui/rename.rs:131 :9
390
402
|
391
403
LL | #![warn(clippy::unused_label)]
392
404
| ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_labels`
393
405
394
406
error: lint `clippy::vtable_address_comparisons` has been renamed to `ambiguous_wide_pointer_comparisons`
395
- --> tests/ui/rename.rs:130 :9
407
+ --> tests/ui/rename.rs:132 :9
396
408
|
397
409
LL | #![warn(clippy::vtable_address_comparisons)]
398
410
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `ambiguous_wide_pointer_comparisons`
399
411
400
- error: lint `clippy::reverse_range_loop` has been renamed to `clippy::reversed_empty_ranges`
401
- --> tests/ui/rename.rs:131:9
402
- |
403
- LL | #![warn(clippy::reverse_range_loop)]
404
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::reversed_empty_ranges`
405
-
406
- error: aborting due to 67 previous errors
412
+ error: aborting due to 68 previous errors
407
413
0 commit comments