diff options
| author | bors <bors@rust-lang.org> | 2023-03-31 16:16:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-03-31 16:16:36 +0000 |
| commit | 29987062d9c807bf38a1d46f73b0ca1f3666e88f (patch) | |
| tree | 5eada7d674e8ad712bde3933246bf542c49bbeb5 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 89160b6de2a62499a5c4a484024cd62061e3d2de (diff) | |
| parent | 50d92d0b60a0ac28b5311e0a04e3353af862079c (diff) | |
| download | rust-29987062d9c807bf38a1d46f73b0ca1f3666e88f.tar.gz rust-29987062d9c807bf38a1d46f73b0ca1f3666e88f.zip | |
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
