rust/tests/ui-toml
bors 29987062d9 Auto merge of #10536 - mkrasnitski:suggestions, r=flip1995
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.
2023-03-31 16:16:36 +00:00
..
allow_mixed_uninlined_format_args Migrate format_args.rs to rustc_ast::FormatArgs 2023-03-28 12:22:22 +00:00
arithmetic_side_effects_allowed [arithmetic-side-effects] Consider negative numbers and add more tests 2023-01-06 12:25:51 -03:00
array_size_threshold Fix array-size-threshold config deserialization error 2023-02-28 14:37:41 +00:00
await_holding_invalid_type Return multiple resolutions from def_path_res 2022-11-04 21:58:07 +00:00
bad_toml
bad_toml_type
conf_deprecated_key Merge remote-tracking branch 'upstream/master' into rustup 2022-10-06 09:19:29 +02:00
dbg_macro reword dbg_macro labels 2023-01-02 12:09:26 -05:00
disallowed_macros Add disallowed_macros lint 2022-10-05 13:44:06 +00:00
disallowed_names_append
disallowed_names_replace
doc_valid_idents_append
doc_valid_idents_replace
duplicated_keys
expect_used Recover tests 2023-02-22 21:36:30 +08:00
extra_unused_type_parameters Add suggestions to extra_unused_type_parameters 2023-03-23 23:56:31 -04:00
fn_params_excessive_bools bless clippy 2022-10-01 10:03:06 +00:00
functions_maxlines
good_toml_no_false_negatives
ifs_same_cond extract is_interior_mutable_type from [mut_key] to clippy_utils::ty; 2023-03-13 20:17:30 +08:00
invalid_min_rust_version
large_futures Update clippy_lints/src/large_futures.rs 2023-03-29 08:47:32 +00:00
large_include_file bless clippy 2022-10-01 10:03:06 +00:00
lint_decimal_readability
max_suggested_slice_pattern_length
min_rust_version
missing_enforced_import_rename
mut_key make arc-likes for mutable-key configurable 2022-10-25 01:51:04 +02:00
nonstandard_macro_braces bless clippy 2022-10-01 10:03:06 +00:00
print_macro Add allow-print-in-tests config 2022-11-04 20:33:04 +03:00
pub_crate_missing_docs Address review comments 2023-02-17 09:09:44 -05:00
strict_non_send_fields_in_send_ty bless clippy 2022-10-01 10:03:06 +00:00
struct_excessive_bools bless clippy 2022-10-01 10:03:06 +00:00
suppress_lint_in_const fix test 2022-12-03 16:06:57 +08:00
toml_disallow
toml_disallowed_methods Return multiple resolutions from def_path_res 2022-11-04 21:58:07 +00:00
toml_disallowed_types
toml_trivially_copy
toml_unknown_key add large future lint 2023-03-20 22:51:01 +08:00
unwrap_used bless 2023-02-22 21:49:26 +08:00
upper_case_acronyms_aggressive
vec_box_sized fix vec-box-size-threshold off-by-one error 2022-11-14 16:06:21 +01:00
zero_single_char_names
update-all-references.sh