@@ -210,20 +210,71 @@ uuid = "1.23"
210210zstd = { version = " 0.13" , default-features = false }
211211
212212# Keep this list sorted alphabetically.
213+ # See https://github.com/apache/datafusion/issues/18467 for the ongoing effort of
214+ # picking useful non-default lints.
213215[workspace .lints .clippy ]
214216# https://github.com/apache/datafusion/issues/18881
215217allow_attributes = " warn"
218+ as_ptr_cast_mut = " warn"
216219assigning_clones = " warn"
220+ clear_with_drain = " warn"
221+ coerce_container_to_any = " warn"
222+ debug_assert_with_mut_call = " warn"
223+ decimal_bitwise_operands = " warn"
224+ default_union_representation = " warn"
225+ doc_include_without_cfg = " warn"
226+ empty_enum_variants_with_brackets = " warn"
227+ exit = " warn"
228+ flat_map_option = " warn"
229+ fn_to_numeric_cast_any = " warn"
230+ imprecise_flops = " warn"
231+ index_refutable_slice = " warn"
217232inefficient_to_string = " warn"
233+ infinite_loop = " warn"
234+ invalid_upcast_comparisons = " warn"
235+ ip_constant = " warn"
236+ iter_filter_is_ok = " warn"
237+ iter_filter_is_some = " warn"
238+ iter_on_empty_collections = " warn"
218239# Detects large stack-allocated futures that may cause stack overflow crashes (see threshold in clippy.toml)
219240large_futures = " warn"
241+ large_include_file = " warn"
242+ macro_use_imports = " warn"
243+ manual_ilog2 = " warn"
244+ manual_instant_elapsed = " warn"
245+ manual_is_power_of_two = " warn"
246+ match_wild_err_arm = " warn"
247+ mem_forget = " warn"
248+ mismatching_type_param_order = " warn"
249+ mut_mut = " warn"
220250# https://github.com/apache/datafusion/issues/18503
221251needless_pass_by_value = " warn"
252+ negative_feature_names = " warn"
253+ non_zero_suggestions = " warn"
254+ nonstandard_macro_braces = " warn"
222255or_fun_call = " warn"
256+ path_buf_push_overwrite = " warn"
257+ pathbuf_init_then_push = " warn"
258+ precedence_bits = " warn"
259+ pub_underscore_fields = " warn"
260+ rc_mutex = " warn"
261+ ref_option_ref = " warn"
262+ same_length_and_capacity = " warn"
263+ str_split_at_newline = " warn"
264+ string_add_assign = " warn"
265+ suspicious_xor_used_as_pow = " warn"
266+ trailing_empty_array = " warn"
267+ transmute_ptr_to_ptr = " warn"
268+ uninhabited_references = " warn"
223269uninlined_format_args = " warn"
224270unnecessary_lazy_evaluations = " warn"
271+ unnecessary_self_imports = " warn"
225272unused_async = " warn"
273+ unused_rounding = " warn"
226274used_underscore_binding = " warn"
275+ verbose_file_reads = " warn"
276+ wildcard_dependencies = " warn"
277+ zero_sized_map_values = " warn"
227278
228279[workspace .lints .rust ]
229280unexpected_cfgs = { level = " warn" , check-cfg = [
0 commit comments