Skip to content

Commit f295538

Browse files
committed
Updated lints
1 parent b267deb commit f295538

File tree

1 file changed

+152
-152
lines changed

1 file changed

+152
-152
lines changed

clippy_lints/src/lib.rs

Lines changed: 152 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -170,158 +170,158 @@ mod consts;
170170
mod utils;
171171

172172
// begin lints modules, do not remove this comment, it’s used in `update_lints`
173-
pub mod approx_const;
174-
pub mod arithmetic;
175-
pub mod as_conversions;
176-
pub mod assertions_on_constants;
177-
pub mod assign_ops;
178-
pub mod atomic_ordering;
179-
pub mod attrs;
180-
pub mod bit_mask;
181-
pub mod blacklisted_name;
182-
pub mod block_in_if_condition;
183-
pub mod booleans;
184-
pub mod bytecount;
185-
pub mod cargo_common_metadata;
186-
pub mod checked_conversions;
187-
pub mod cognitive_complexity;
188-
pub mod collapsible_if;
189-
pub mod comparison_chain;
190-
pub mod copies;
191-
pub mod copy_iterator;
192-
pub mod dbg_macro;
193-
pub mod default_trait_access;
194-
pub mod derive;
195-
pub mod doc;
196-
pub mod double_comparison;
197-
pub mod double_parens;
198-
pub mod drop_bounds;
199-
pub mod drop_forget_ref;
200-
pub mod duration_subsec;
201-
pub mod else_if_without_else;
202-
pub mod empty_enum;
203-
pub mod entry;
204-
pub mod enum_clike;
205-
pub mod enum_variants;
206-
pub mod eq_op;
207-
pub mod erasing_op;
208-
pub mod escape;
209-
pub mod eta_reduction;
210-
pub mod eval_order_dependence;
211-
pub mod excessive_bools;
212-
pub mod exit;
213-
pub mod explicit_write;
214-
pub mod fallible_impl_from;
215-
pub mod float_literal;
216-
pub mod floating_point_arithmetic;
217-
pub mod format;
218-
pub mod formatting;
219-
pub mod functions;
220-
pub mod get_last_with_len;
221-
pub mod identity_conversion;
222-
pub mod identity_op;
223-
pub mod if_let_some_result;
224-
pub mod if_not_else;
225-
pub mod implicit_return;
226-
pub mod implicit_saturating_sub;
227-
pub mod indexing_slicing;
228-
pub mod infinite_iter;
229-
pub mod inherent_impl;
230-
pub mod inherent_to_string;
231-
pub mod inline_fn_without_body;
232-
pub mod int_plus_one;
233-
pub mod integer_division;
234-
pub mod items_after_statements;
235-
pub mod large_enum_variant;
236-
pub mod large_stack_arrays;
237-
pub mod len_zero;
238-
pub mod let_if_seq;
239-
pub mod let_underscore;
240-
pub mod lifetimes;
241-
pub mod literal_representation;
242-
pub mod loops;
243-
pub mod macro_use;
244-
pub mod main_recursion;
245-
pub mod map_clone;
246-
pub mod map_unit_fn;
247-
pub mod matches;
248-
pub mod mem_discriminant;
249-
pub mod mem_forget;
250-
pub mod mem_replace;
251-
pub mod methods;
252-
pub mod minmax;
253-
pub mod misc;
254-
pub mod misc_early;
255-
pub mod missing_const_for_fn;
256-
pub mod missing_doc;
257-
pub mod missing_inline;
258-
pub mod modulo_arithmetic;
259-
pub mod multiple_crate_versions;
260-
pub mod mut_key;
261-
pub mod mut_mut;
262-
pub mod mut_reference;
263-
pub mod mutable_debug_assertion;
264-
pub mod mutex_atomic;
265-
pub mod needless_bool;
266-
pub mod needless_borrow;
267-
pub mod needless_borrowed_ref;
268-
pub mod needless_continue;
269-
pub mod needless_pass_by_value;
270-
pub mod needless_update;
271-
pub mod neg_cmp_op_on_partial_ord;
272-
pub mod neg_multiply;
273-
pub mod new_without_default;
274-
pub mod no_effect;
275-
pub mod non_copy_const;
276-
pub mod non_expressive_names;
277-
pub mod open_options;
278-
pub mod option_env_unwrap;
279-
pub mod overflow_check_conditional;
280-
pub mod panic_unimplemented;
281-
pub mod partialeq_ne_impl;
282-
pub mod path_buf_push_overwrite;
283-
pub mod precedence;
284-
pub mod ptr;
285-
pub mod ptr_offset_with_cast;
286-
pub mod question_mark;
287-
pub mod ranges;
288-
pub mod redundant_clone;
289-
pub mod redundant_field_names;
290-
pub mod redundant_pattern_matching;
291-
pub mod redundant_pub_crate;
292-
pub mod redundant_static_lifetimes;
293-
pub mod reference;
294-
pub mod regex;
295-
pub mod returns;
296-
pub mod serde_api;
297-
pub mod shadow;
298-
pub mod single_component_path_imports;
299-
pub mod slow_vector_initialization;
300-
pub mod strings;
301-
pub mod suspicious_trait_impl;
302-
pub mod swap;
303-
pub mod tabs_in_doc_comments;
304-
pub mod temporary_assignment;
305-
pub mod to_digit_is_some;
306-
pub mod trait_bounds;
307-
pub mod transmute;
308-
pub mod transmuting_null;
309-
pub mod trivially_copy_pass_by_ref;
310-
pub mod try_err;
311-
pub mod types;
312-
pub mod unicode;
313-
pub mod unnamed_address;
314-
pub mod unsafe_removed_from_name;
315-
pub mod unused_io_amount;
316-
pub mod unused_self;
317-
pub mod unwrap;
318-
pub mod use_self;
319-
pub mod vec;
320-
pub mod verbose_file_reads;
321-
pub mod wildcard_dependencies;
322-
pub mod wildcard_imports;
323-
pub mod write;
324-
pub mod zero_div_zero;
173+
mod approx_const;
174+
mod arithmetic;
175+
mod as_conversions;
176+
mod assertions_on_constants;
177+
mod assign_ops;
178+
mod atomic_ordering;
179+
mod attrs;
180+
mod bit_mask;
181+
mod blacklisted_name;
182+
mod block_in_if_condition;
183+
mod booleans;
184+
mod bytecount;
185+
mod cargo_common_metadata;
186+
mod checked_conversions;
187+
mod cognitive_complexity;
188+
mod collapsible_if;
189+
mod comparison_chain;
190+
mod copies;
191+
mod copy_iterator;
192+
mod dbg_macro;
193+
mod default_trait_access;
194+
mod derive;
195+
mod doc;
196+
mod double_comparison;
197+
mod double_parens;
198+
mod drop_bounds;
199+
mod drop_forget_ref;
200+
mod duration_subsec;
201+
mod else_if_without_else;
202+
mod empty_enum;
203+
mod entry;
204+
mod enum_clike;
205+
mod enum_variants;
206+
mod eq_op;
207+
mod erasing_op;
208+
mod escape;
209+
mod eta_reduction;
210+
mod eval_order_dependence;
211+
mod excessive_bools;
212+
mod exit;
213+
mod explicit_write;
214+
mod fallible_impl_from;
215+
mod float_literal;
216+
mod floating_point_arithmetic;
217+
mod format;
218+
mod formatting;
219+
mod functions;
220+
mod get_last_with_len;
221+
mod identity_conversion;
222+
mod identity_op;
223+
mod if_let_some_result;
224+
mod if_not_else;
225+
mod implicit_return;
226+
mod implicit_saturating_sub;
227+
mod indexing_slicing;
228+
mod infinite_iter;
229+
mod inherent_impl;
230+
mod inherent_to_string;
231+
mod inline_fn_without_body;
232+
mod int_plus_one;
233+
mod integer_division;
234+
mod items_after_statements;
235+
mod large_enum_variant;
236+
mod large_stack_arrays;
237+
mod len_zero;
238+
mod let_if_seq;
239+
mod let_underscore;
240+
mod lifetimes;
241+
mod literal_representation;
242+
mod loops;
243+
mod macro_use;
244+
mod main_recursion;
245+
mod map_clone;
246+
mod map_unit_fn;
247+
mod matches;
248+
mod mem_discriminant;
249+
mod mem_forget;
250+
mod mem_replace;
251+
mod methods;
252+
mod minmax;
253+
mod misc;
254+
mod misc_early;
255+
mod missing_const_for_fn;
256+
mod missing_doc;
257+
mod missing_inline;
258+
mod modulo_arithmetic;
259+
mod multiple_crate_versions;
260+
mod mut_key;
261+
mod mut_mut;
262+
mod mut_reference;
263+
mod mutable_debug_assertion;
264+
mod mutex_atomic;
265+
mod needless_bool;
266+
mod needless_borrow;
267+
mod needless_borrowed_ref;
268+
mod needless_continue;
269+
mod needless_pass_by_value;
270+
mod needless_update;
271+
mod neg_cmp_op_on_partial_ord;
272+
mod neg_multiply;
273+
mod new_without_default;
274+
mod no_effect;
275+
mod non_copy_const;
276+
mod non_expressive_names;
277+
mod open_options;
278+
mod option_env_unwrap;
279+
mod overflow_check_conditional;
280+
mod panic_unimplemented;
281+
mod partialeq_ne_impl;
282+
mod path_buf_push_overwrite;
283+
mod precedence;
284+
mod ptr;
285+
mod ptr_offset_with_cast;
286+
mod question_mark;
287+
mod ranges;
288+
mod redundant_clone;
289+
mod redundant_field_names;
290+
mod redundant_pattern_matching;
291+
mod redundant_pub_crate;
292+
mod redundant_static_lifetimes;
293+
mod reference;
294+
mod regex;
295+
mod returns;
296+
mod serde_api;
297+
mod shadow;
298+
mod single_component_path_imports;
299+
mod slow_vector_initialization;
300+
mod strings;
301+
mod suspicious_trait_impl;
302+
mod swap;
303+
mod tabs_in_doc_comments;
304+
mod temporary_assignment;
305+
mod to_digit_is_some;
306+
mod trait_bounds;
307+
mod transmute;
308+
mod transmuting_null;
309+
mod trivially_copy_pass_by_ref;
310+
mod try_err;
311+
mod types;
312+
mod unicode;
313+
mod unnamed_address;
314+
mod unsafe_removed_from_name;
315+
mod unused_io_amount;
316+
mod unused_self;
317+
mod unwrap;
318+
mod use_self;
319+
mod vec;
320+
mod verbose_file_reads;
321+
mod wildcard_dependencies;
322+
mod wildcard_imports;
323+
mod write;
324+
mod zero_div_zero;
325325
// end lints modules, do not remove this comment, it’s used in `update_lints`
326326

327327
pub use crate::utils::conf::Conf;

0 commit comments

Comments
 (0)