]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/rename.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / rename.stderr
1 error: lint `clippy::blacklisted_name` has been renamed to `clippy::disallowed_names`
2 --> $DIR/rename.rs:39:9
3 |
4 LL | #![warn(clippy::blacklisted_name)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::disallowed_names`
6 |
7 = note: `-D renamed-and-removed-lints` implied by `-D warnings`
8
9 error: lint `clippy::block_in_if_condition_expr` has been renamed to `clippy::blocks_in_if_conditions`
10 --> $DIR/rename.rs:40:9
11 |
12 LL | #![warn(clippy::block_in_if_condition_expr)]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::blocks_in_if_conditions`
14
15 error: lint `clippy::block_in_if_condition_stmt` has been renamed to `clippy::blocks_in_if_conditions`
16 --> $DIR/rename.rs:41:9
17 |
18 LL | #![warn(clippy::block_in_if_condition_stmt)]
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::blocks_in_if_conditions`
20
21 error: lint `clippy::box_vec` has been renamed to `clippy::box_collection`
22 --> $DIR/rename.rs:42:9
23 |
24 LL | #![warn(clippy::box_vec)]
25 | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::box_collection`
26
27 error: lint `clippy::const_static_lifetime` has been renamed to `clippy::redundant_static_lifetimes`
28 --> $DIR/rename.rs:43:9
29 |
30 LL | #![warn(clippy::const_static_lifetime)]
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::redundant_static_lifetimes`
32
33 error: lint `clippy::cyclomatic_complexity` has been renamed to `clippy::cognitive_complexity`
34 --> $DIR/rename.rs:44:9
35 |
36 LL | #![warn(clippy::cyclomatic_complexity)]
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::cognitive_complexity`
38
39 error: lint `clippy::disallowed_method` has been renamed to `clippy::disallowed_methods`
40 --> $DIR/rename.rs:45:9
41 |
42 LL | #![warn(clippy::disallowed_method)]
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::disallowed_methods`
44
45 error: lint `clippy::disallowed_type` has been renamed to `clippy::disallowed_types`
46 --> $DIR/rename.rs:46:9
47 |
48 LL | #![warn(clippy::disallowed_type)]
49 | ^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::disallowed_types`
50
51 error: lint `clippy::eval_order_dependence` has been renamed to `clippy::mixed_read_write_in_expression`
52 --> $DIR/rename.rs:47:9
53 |
54 LL | #![warn(clippy::eval_order_dependence)]
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::mixed_read_write_in_expression`
56
57 error: lint `clippy::for_loop_over_option` has been renamed to `for_loops_over_fallibles`
58 --> $DIR/rename.rs:48:9
59 |
60 LL | #![warn(clippy::for_loop_over_option)]
61 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `for_loops_over_fallibles`
62
63 error: lint `clippy::for_loop_over_result` has been renamed to `for_loops_over_fallibles`
64 --> $DIR/rename.rs:49:9
65 |
66 LL | #![warn(clippy::for_loop_over_result)]
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `for_loops_over_fallibles`
68
69 error: lint `clippy::identity_conversion` has been renamed to `clippy::useless_conversion`
70 --> $DIR/rename.rs:50:9
71 |
72 LL | #![warn(clippy::identity_conversion)]
73 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::useless_conversion`
74
75 error: lint `clippy::if_let_some_result` has been renamed to `clippy::match_result_ok`
76 --> $DIR/rename.rs:51:9
77 |
78 LL | #![warn(clippy::if_let_some_result)]
79 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::match_result_ok`
80
81 error: lint `clippy::logic_bug` has been renamed to `clippy::overly_complex_bool_expr`
82 --> $DIR/rename.rs:52:9
83 |
84 LL | #![warn(clippy::logic_bug)]
85 | ^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::overly_complex_bool_expr`
86
87 error: lint `clippy::new_without_default_derive` has been renamed to `clippy::new_without_default`
88 --> $DIR/rename.rs:53:9
89 |
90 LL | #![warn(clippy::new_without_default_derive)]
91 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::new_without_default`
92
93 error: lint `clippy::option_and_then_some` has been renamed to `clippy::bind_instead_of_map`
94 --> $DIR/rename.rs:54:9
95 |
96 LL | #![warn(clippy::option_and_then_some)]
97 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::bind_instead_of_map`
98
99 error: lint `clippy::option_expect_used` has been renamed to `clippy::expect_used`
100 --> $DIR/rename.rs:55:9
101 |
102 LL | #![warn(clippy::option_expect_used)]
103 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::expect_used`
104
105 error: lint `clippy::option_map_unwrap_or` has been renamed to `clippy::map_unwrap_or`
106 --> $DIR/rename.rs:56:9
107 |
108 LL | #![warn(clippy::option_map_unwrap_or)]
109 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
110
111 error: lint `clippy::option_map_unwrap_or_else` has been renamed to `clippy::map_unwrap_or`
112 --> $DIR/rename.rs:57:9
113 |
114 LL | #![warn(clippy::option_map_unwrap_or_else)]
115 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
116
117 error: lint `clippy::option_unwrap_used` has been renamed to `clippy::unwrap_used`
118 --> $DIR/rename.rs:58:9
119 |
120 LL | #![warn(clippy::option_unwrap_used)]
121 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unwrap_used`
122
123 error: lint `clippy::ref_in_deref` has been renamed to `clippy::needless_borrow`
124 --> $DIR/rename.rs:59:9
125 |
126 LL | #![warn(clippy::ref_in_deref)]
127 | ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::needless_borrow`
128
129 error: lint `clippy::result_expect_used` has been renamed to `clippy::expect_used`
130 --> $DIR/rename.rs:60:9
131 |
132 LL | #![warn(clippy::result_expect_used)]
133 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::expect_used`
134
135 error: lint `clippy::result_map_unwrap_or_else` has been renamed to `clippy::map_unwrap_or`
136 --> $DIR/rename.rs:61:9
137 |
138 LL | #![warn(clippy::result_map_unwrap_or_else)]
139 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::map_unwrap_or`
140
141 error: lint `clippy::result_unwrap_used` has been renamed to `clippy::unwrap_used`
142 --> $DIR/rename.rs:62:9
143 |
144 LL | #![warn(clippy::result_unwrap_used)]
145 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unwrap_used`
146
147 error: lint `clippy::single_char_push_str` has been renamed to `clippy::single_char_add_str`
148 --> $DIR/rename.rs:63:9
149 |
150 LL | #![warn(clippy::single_char_push_str)]
151 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::single_char_add_str`
152
153 error: lint `clippy::stutter` has been renamed to `clippy::module_name_repetitions`
154 --> $DIR/rename.rs:64:9
155 |
156 LL | #![warn(clippy::stutter)]
157 | ^^^^^^^^^^^^^^^ help: use the new name: `clippy::module_name_repetitions`
158
159 error: lint `clippy::to_string_in_display` has been renamed to `clippy::recursive_format_impl`
160 --> $DIR/rename.rs:65:9
161 |
162 LL | #![warn(clippy::to_string_in_display)]
163 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::recursive_format_impl`
164
165 error: lint `clippy::zero_width_space` has been renamed to `clippy::invisible_characters`
166 --> $DIR/rename.rs:66:9
167 |
168 LL | #![warn(clippy::zero_width_space)]
169 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::invisible_characters`
170
171 error: lint `clippy::drop_bounds` has been renamed to `drop_bounds`
172 --> $DIR/rename.rs:67:9
173 |
174 LL | #![warn(clippy::drop_bounds)]
175 | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `drop_bounds`
176
177 error: lint `clippy::for_loops_over_fallibles` has been renamed to `for_loops_over_fallibles`
178 --> $DIR/rename.rs:68:9
179 |
180 LL | #![warn(clippy::for_loops_over_fallibles)]
181 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `for_loops_over_fallibles`
182
183 error: lint `clippy::into_iter_on_array` has been renamed to `array_into_iter`
184 --> $DIR/rename.rs:69:9
185 |
186 LL | #![warn(clippy::into_iter_on_array)]
187 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `array_into_iter`
188
189 error: lint `clippy::invalid_atomic_ordering` has been renamed to `invalid_atomic_ordering`
190 --> $DIR/rename.rs:70:9
191 |
192 LL | #![warn(clippy::invalid_atomic_ordering)]
193 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_atomic_ordering`
194
195 error: lint `clippy::invalid_ref` has been renamed to `invalid_value`
196 --> $DIR/rename.rs:71:9
197 |
198 LL | #![warn(clippy::invalid_ref)]
199 | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_value`
200
201 error: lint `clippy::mem_discriminant_non_enum` has been renamed to `enum_intrinsics_non_enums`
202 --> $DIR/rename.rs:72:9
203 |
204 LL | #![warn(clippy::mem_discriminant_non_enum)]
205 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `enum_intrinsics_non_enums`
206
207 error: lint `clippy::panic_params` has been renamed to `non_fmt_panics`
208 --> $DIR/rename.rs:73:9
209 |
210 LL | #![warn(clippy::panic_params)]
211 | ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panics`
212
213 error: lint `clippy::positional_named_format_parameters` has been renamed to `named_arguments_used_positionally`
214 --> $DIR/rename.rs:74:9
215 |
216 LL | #![warn(clippy::positional_named_format_parameters)]
217 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `named_arguments_used_positionally`
218
219 error: lint `clippy::temporary_cstring_as_ptr` has been renamed to `temporary_cstring_as_ptr`
220 --> $DIR/rename.rs:75:9
221 |
222 LL | #![warn(clippy::temporary_cstring_as_ptr)]
223 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `temporary_cstring_as_ptr`
224
225 error: lint `clippy::unknown_clippy_lints` has been renamed to `unknown_lints`
226 --> $DIR/rename.rs:76:9
227 |
228 LL | #![warn(clippy::unknown_clippy_lints)]
229 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unknown_lints`
230
231 error: lint `clippy::unused_label` has been renamed to `unused_labels`
232 --> $DIR/rename.rs:77:9
233 |
234 LL | #![warn(clippy::unused_label)]
235 | ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_labels`
236
237 error: aborting due to 39 previous errors
238