fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
14.2 KiB341 linesraw
1error: lint `clippy::almost_complete_letter_range` has been renamed to `clippy::almost_complete_range`
2  --> $DIR/rename.rs:54:9
3   |
4LL | #![warn(clippy::almost_complete_letter_range)]
5   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::almost_complete_range`
6   |
7   = note: `-D renamed-and-removed-lints` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(renamed_and_removed_lints)]`
9
10error: lint `clippy::blacklisted_name` has been renamed to `clippy::disallowed_names`
11  --> $DIR/rename.rs:55:9
12   |
13LL | #![warn(clippy::blacklisted_name)]
14   |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::disallowed_names`
15
16error: lint `clippy::block_in_if_condition_expr` has been renamed to `clippy::blocks_in_if_conditions`
17  --> $DIR/rename.rs:56:9
18   |
19LL | #![warn(clippy::block_in_if_condition_expr)]
20   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::blocks_in_if_conditions`
21
22error: lint `clippy::block_in_if_condition_stmt` has been renamed to `clippy::blocks_in_if_conditions`
23  --> $DIR/rename.rs:57:9
24   |
25LL | #![warn(clippy::block_in_if_condition_stmt)]
26   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::blocks_in_if_conditions`
27
28error: lint `clippy::box_vec` has been renamed to `clippy::box_collection`
29  --> $DIR/rename.rs:58:9
30   |
31LL | #![warn(clippy::box_vec)]
32   |         ^^^^^^^^^^^^^^^ help: use the new name: `clippy::box_collection`
33
34error: lint `clippy::const_static_lifetime` has been renamed to `clippy::redundant_static_lifetimes`
35  --> $DIR/rename.rs:59:9
36   |
37LL | #![warn(clippy::const_static_lifetime)]
38   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_static_lifetimes`
39
40error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
41  --> $DIR/rename.rs:60:9
42   |
43LL | #![warn(clippy::cyclomatic_complexity)]
44   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
45
46error: lint `clippy::derive_hash_xor_eq` has been renamed to `clippy::derived_hash_with_manual_eq`
47  --> $DIR/rename.rs:61:9
48   |
49LL | #![warn(clippy::derive_hash_xor_eq)]
50   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::derived_hash_with_manual_eq`
51
52error: lint `clippy::disallowed_method` has been renamed to `clippy::disallowed_methods`
53  --> $DIR/rename.rs:62:9
54   |
55LL | #![warn(clippy::disallowed_method)]
56   |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::disallowed_methods`
57
58error: lint `clippy::disallowed_type` has been renamed to `clippy::disallowed_types`
59  --> $DIR/rename.rs:63:9
60   |
61LL | #![warn(clippy::disallowed_type)]
62   |         ^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::disallowed_types`
63
64error: lint `clippy::eval_order_dependence` has been renamed to `clippy::mixed_read_write_in_expression`
65  --> $DIR/rename.rs:64:9
66   |
67LL | #![warn(clippy::eval_order_dependence)]
68   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::mixed_read_write_in_expression`
69
70error: lint `clippy::identity_conversion` has been renamed to `clippy::useless_conversion`
71  --> $DIR/rename.rs:65:9
72   |
73LL | #![warn(clippy::identity_conversion)]
74   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::useless_conversion`
75
76error: lint `clippy::if_let_some_result` has been renamed to `clippy::match_result_ok`
77  --> $DIR/rename.rs:66:9
78   |
79LL | #![warn(clippy::if_let_some_result)]
80   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::match_result_ok`
81
82error: lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`
83  --> $DIR/rename.rs:67:9
84   |
85LL | #![warn(clippy::incorrect_clone_impl_on_copy_type)]
86   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_clone_impl`
87
88error: lint `clippy::incorrect_partial_ord_impl_on_ord_type` has been renamed to `clippy::non_canonical_partial_ord_impl`
89  --> $DIR/rename.rs:68:9
90   |
91LL | #![warn(clippy::incorrect_partial_ord_impl_on_ord_type)]
92   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_partial_ord_impl`
93
94error: lint `clippy::integer_arithmetic` has been renamed to `clippy::arithmetic_side_effects`
95  --> $DIR/rename.rs:69:9
96   |
97LL | #![warn(clippy::integer_arithmetic)]
98   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::arithmetic_side_effects`
99
100error: lint `clippy::logic_bug` has been renamed to `clippy::overly_complex_bool_expr`
101  --> $DIR/rename.rs:70:9
102   |
103LL | #![warn(clippy::logic_bug)]
104   |         ^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::overly_complex_bool_expr`
105
106error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
107  --> $DIR/rename.rs:71:9
108   |
109LL | #![warn(clippy::new_without_default_derive)]
110   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
111
112error: lint `clippy::option_and_then_some` has been renamed to `clippy::bind_instead_of_map`
113  --> $DIR/rename.rs:72:9
114   |
115LL | #![warn(clippy::option_and_then_some)]
116   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::bind_instead_of_map`
117
118error: lint `clippy::option_expect_used` has been renamed to `clippy::expect_used`
119  --> $DIR/rename.rs:73:9
120   |
121LL | #![warn(clippy::option_expect_used)]
122   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::expect_used`
123
124error: lint `clippy::option_map_unwrap_or` has been renamed to `clippy::map_unwrap_or`
125  --> $DIR/rename.rs:74:9
126   |
127LL | #![warn(clippy::option_map_unwrap_or)]
128   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
129
130error: lint `clippy::option_map_unwrap_or_else` has been renamed to `clippy::map_unwrap_or`
131  --> $DIR/rename.rs:75:9
132   |
133LL | #![warn(clippy::option_map_unwrap_or_else)]
134   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
135
136error: lint `clippy::option_unwrap_used` has been renamed to `clippy::unwrap_used`
137  --> $DIR/rename.rs:76:9
138   |
139LL | #![warn(clippy::option_unwrap_used)]
140   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unwrap_used`
141
142error: lint `clippy::ref_in_deref` has been renamed to `clippy::needless_borrow`
143  --> $DIR/rename.rs:77:9
144   |
145LL | #![warn(clippy::ref_in_deref)]
146   |         ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::needless_borrow`
147
148error: lint `clippy::result_expect_used` has been renamed to `clippy::expect_used`
149  --> $DIR/rename.rs:78:9
150   |
151LL | #![warn(clippy::result_expect_used)]
152   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::expect_used`
153
154error: lint `clippy::result_map_unwrap_or_else` has been renamed to `clippy::map_unwrap_or`
155  --> $DIR/rename.rs:79:9
156   |
157LL | #![warn(clippy::result_map_unwrap_or_else)]
158   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
159
160error: lint `clippy::result_unwrap_used` has been renamed to `clippy::unwrap_used`
161  --> $DIR/rename.rs:80:9
162   |
163LL | #![warn(clippy::result_unwrap_used)]
164   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unwrap_used`
165
166error: lint `clippy::single_char_push_str` has been renamed to `clippy::single_char_add_str`
167  --> $DIR/rename.rs:81:9
168   |
169LL | #![warn(clippy::single_char_push_str)]
170   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::single_char_add_str`
171
172error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`
173  --> $DIR/rename.rs:82:9
174   |
175LL | #![warn(clippy::stutter)]
176   |         ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
177
178error: lint `clippy::to_string_in_display` has been renamed to `clippy::recursive_format_impl`
179  --> $DIR/rename.rs:83:9
180   |
181LL | #![warn(clippy::to_string_in_display)]
182   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::recursive_format_impl`
183
184error: lint `clippy::unwrap_or_else_default` has been renamed to `clippy::unwrap_or_default`
185  --> $DIR/rename.rs:84:9
186   |
187LL | #![warn(clippy::unwrap_or_else_default)]
188   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unwrap_or_default`
189
190error: lint `clippy::zero_width_space` has been renamed to `clippy::invisible_characters`
191  --> $DIR/rename.rs:85:9
192   |
193LL | #![warn(clippy::zero_width_space)]
194   |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::invisible_characters`
195
196error: lint `clippy::cast_ref_to_mut` has been renamed to `invalid_reference_casting`
197  --> $DIR/rename.rs:86:9
198   |
199LL | #![warn(clippy::cast_ref_to_mut)]
200   |         ^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_reference_casting`
201
202error: lint `clippy::clone_double_ref` has been renamed to `suspicious_double_ref_op`
203  --> $DIR/rename.rs:87:9
204   |
205LL | #![warn(clippy::clone_double_ref)]
206   |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `suspicious_double_ref_op`
207
208error: lint `clippy::cmp_nan` has been renamed to `invalid_nan_comparisons`
209  --> $DIR/rename.rs:88:9
210   |
211LL | #![warn(clippy::cmp_nan)]
212   |         ^^^^^^^^^^^^^^^ help: use the new name: `invalid_nan_comparisons`
213
214error: lint `clippy::drop_bounds` has been renamed to `drop_bounds`
215  --> $DIR/rename.rs:89:9
216   |
217LL | #![warn(clippy::drop_bounds)]
218   |         ^^^^^^^^^^^^^^^^^^^ help: use the new name: `drop_bounds`
219
220error: lint `clippy::drop_copy` has been renamed to `dropping_copy_types`
221  --> $DIR/rename.rs:90:9
222   |
223LL | #![warn(clippy::drop_copy)]
224   |         ^^^^^^^^^^^^^^^^^ help: use the new name: `dropping_copy_types`
225
226error: lint `clippy::drop_ref` has been renamed to `dropping_references`
227  --> $DIR/rename.rs:91:9
228   |
229LL | #![warn(clippy::drop_ref)]
230   |         ^^^^^^^^^^^^^^^^ help: use the new name: `dropping_references`
231
232error: lint `clippy::fn_null_check` has been renamed to `useless_ptr_null_checks`
233  --> $DIR/rename.rs:92:9
234   |
235LL | #![warn(clippy::fn_null_check)]
236   |         ^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `useless_ptr_null_checks`
237
238error: lint `clippy::for_loop_over_option` has been renamed to `for_loops_over_fallibles`
239  --> $DIR/rename.rs:93:9
240   |
241LL | #![warn(clippy::for_loop_over_option)]
242   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `for_loops_over_fallibles`
243
244error: lint `clippy::for_loop_over_result` has been renamed to `for_loops_over_fallibles`
245  --> $DIR/rename.rs:94:9
246   |
247LL | #![warn(clippy::for_loop_over_result)]
248   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `for_loops_over_fallibles`
249
250error: lint `clippy::for_loops_over_fallibles` has been renamed to `for_loops_over_fallibles`
251  --> $DIR/rename.rs:95:9
252   |
253LL | #![warn(clippy::for_loops_over_fallibles)]
254   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `for_loops_over_fallibles`
255
256error: lint `clippy::forget_copy` has been renamed to `forgetting_copy_types`
257  --> $DIR/rename.rs:96:9
258   |
259LL | #![warn(clippy::forget_copy)]
260   |         ^^^^^^^^^^^^^^^^^^^ help: use the new name: `forgetting_copy_types`
261
262error: lint `clippy::forget_ref` has been renamed to `forgetting_references`
263  --> $DIR/rename.rs:97:9
264   |
265LL | #![warn(clippy::forget_ref)]
266   |         ^^^^^^^^^^^^^^^^^^ help: use the new name: `forgetting_references`
267
268error: lint `clippy::into_iter_on_array` has been renamed to `array_into_iter`
269  --> $DIR/rename.rs:98:9
270   |
271LL | #![warn(clippy::into_iter_on_array)]
272   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `array_into_iter`
273
274error: lint `clippy::invalid_atomic_ordering` has been renamed to `invalid_atomic_ordering`
275  --> $DIR/rename.rs:99:9
276   |
277LL | #![warn(clippy::invalid_atomic_ordering)]
278   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_atomic_ordering`
279
280error: lint `clippy::invalid_ref` has been renamed to `invalid_value`
281  --> $DIR/rename.rs:100:9
282   |
283LL | #![warn(clippy::invalid_ref)]
284   |         ^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_value`
285
286error: lint `clippy::invalid_utf8_in_unchecked` has been renamed to `invalid_from_utf8_unchecked`
287  --> $DIR/rename.rs:101:9
288   |
289LL | #![warn(clippy::invalid_utf8_in_unchecked)]
290   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_from_utf8_unchecked`
291
292error: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
293  --> $DIR/rename.rs:102:9
294   |
295LL | #![warn(clippy::let_underscore_drop)]
296   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
297
298error: lint `clippy::mem_discriminant_non_enum` has been renamed to `enum_intrinsics_non_enums`
299  --> $DIR/rename.rs:103:9
300   |
301LL | #![warn(clippy::mem_discriminant_non_enum)]
302   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `enum_intrinsics_non_enums`
303
304error: lint `clippy::panic_params` has been renamed to `non_fmt_panics`
305  --> $DIR/rename.rs:104:9
306   |
307LL | #![warn(clippy::panic_params)]
308   |         ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panics`
309
310error: lint `clippy::positional_named_format_parameters` has been renamed to `named_arguments_used_positionally`
311  --> $DIR/rename.rs:105:9
312   |
313LL | #![warn(clippy::positional_named_format_parameters)]
314   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `named_arguments_used_positionally`
315
316error: lint `clippy::temporary_cstring_as_ptr` has been renamed to `temporary_cstring_as_ptr`
317  --> $DIR/rename.rs:106:9
318   |
319LL | #![warn(clippy::temporary_cstring_as_ptr)]
320   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `temporary_cstring_as_ptr`
321
322error: lint `clippy::undropped_manually_drops` has been renamed to `undropped_manually_drops`
323  --> $DIR/rename.rs:107:9
324   |
325LL | #![warn(clippy::undropped_manually_drops)]
326   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `undropped_manually_drops`
327
328error: lint `clippy::unknown_clippy_lints` has been renamed to `unknown_lints`
329  --> $DIR/rename.rs:108:9
330   |
331LL | #![warn(clippy::unknown_clippy_lints)]
332   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unknown_lints`
333
334error: lint `clippy::unused_label` has been renamed to `unused_labels`
335  --> $DIR/rename.rs:109:9
336   |
337LL | #![warn(clippy::unused_label)]
338   |         ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_labels`
339
340error: aborting due to 56 previous errors
341