29987062d9
Add suggestions to `extra_unused_type_parameters` Change the `extra_unused_type_parameters` lint to provide machine applicable suggestions rather than just help messages. Exception to this are cases when any unused type parameters appear bounded in where clauses - for now I've deemed these cases unfixable and separated them out. Future work might be able to provide suggestions in these cases. Also, added a test case for the `avoid_breaking_exported_api` config option. r? `@flip1995` changelog: [`extra_unused_type_parameters`]: Now provides fixable suggestions. |
||
---|---|---|
.. | ||
allow_mixed_uninlined_format_args | ||
arithmetic_side_effects_allowed | ||
array_size_threshold | ||
await_holding_invalid_type | ||
bad_toml | ||
bad_toml_type | ||
conf_deprecated_key | ||
dbg_macro | ||
disallowed_macros | ||
disallowed_names_append | ||
disallowed_names_replace | ||
doc_valid_idents_append | ||
doc_valid_idents_replace | ||
duplicated_keys | ||
expect_used | ||
extra_unused_type_parameters | ||
fn_params_excessive_bools | ||
functions_maxlines | ||
good_toml_no_false_negatives | ||
ifs_same_cond | ||
invalid_min_rust_version | ||
large_futures | ||
large_include_file | ||
lint_decimal_readability | ||
max_suggested_slice_pattern_length | ||
min_rust_version | ||
missing_enforced_import_rename | ||
mut_key | ||
nonstandard_macro_braces | ||
print_macro | ||
pub_crate_missing_docs | ||
strict_non_send_fields_in_send_ty | ||
struct_excessive_bools | ||
suppress_lint_in_const | ||
toml_disallow | ||
toml_disallowed_methods | ||
toml_disallowed_types | ||
toml_trivially_copy | ||
toml_unknown_key | ||
unwrap_used | ||
upper_case_acronyms_aggressive | ||
vec_box_sized | ||
zero_single_char_names | ||
update-all-references.sh |