diff options
| author | Timo <30553356+y21@users.noreply.github.com> | 2025-01-19 22:11:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-19 22:11:46 +0000 |
| commit | 2280b8a09967891b6c3d2d53a001c514954489c3 (patch) | |
| tree | 4143500d44a10d214b21bbfc565dfe7836812f6a /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 0707fe84743d8014a344c193bcacca2540668ed7 (diff) | |
| parent | 7f37b2af97c921b0dc1d03564538048114434323 (diff) | |
| download | rust-2280b8a09967891b6c3d2d53a001c514954489c3.tar.gz rust-2280b8a09967891b6c3d2d53a001c514954489c3.zip | |
Use clearer multipart suggestions for `unnecessary_map_or` lint (#13998)
A multipart suggestion will be used whenever the method call can be replaced by another one with the first argument removed. It helps place the new method call in context, especially when it is part of a larger expression. This fixes #13995 by applying a suggestion made by @y21. r? @y21 changelog: [`unnecessary_map_or`]: better representation of suggestions by placing them in context
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
