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
..
2023-03-08 15:37:14 +01:00
2023-03-15 23:18:25 +01:00
2023-03-15 23:18:25 +01:00
2023-03-15 23:18:25 +01:00
2023-03-08 14:40:38 +00:00
2023-03-08 14:40:38 +00:00
2023-03-08 14:40:38 +00:00
2023-03-16 20:22:39 +01:00