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