diff options
| author | Matthew Ingwersen <matttpt@gmail.com> | 2022-10-28 15:48:04 -0400 |
|---|---|---|
| committer | Matthew Ingwersen <matttpt@gmail.com> | 2022-10-28 16:25:51 -0400 |
| commit | 329dc4715bb152c98d4a5d59747604f3e79a2bb6 (patch) | |
| tree | 830ff2dca7ed0ab775a7fa58b0d0873d4e8e6b5b /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 33137dd612cab59026bc5c0469b8761b198e3cae (diff) | |
| download | rust-329dc4715bb152c98d4a5d59747604f3e79a2bb6.tar.gz rust-329dc4715bb152c98d4a5d59747604f3e79a2bb6.zip | |
Fix `redundant_closure_for_method_calls` suggestion
Certain types must be enclosed in angle brackets and must have generic arguments substituted to create a working suggestion. For example, if `s` has type `&[u8]`, then `|s| s.len()` may be replaced with `<[u8]>::len`. Previously, Clippy erroneously suggested `[T]::len`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
