diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2025-03-27 21:15:55 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-27 21:15:55 +0000 |
| commit | 61b38e76b2df9346c4005464e15900a0e654e44a (patch) | |
| tree | 65348d32c50c6e0bfe28fe05443343e20e3c9713 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | a895265a4e44666c2c30de27f010c6467130c6e8 (diff) | |
| parent | 01820a9efe3d7d09d858483f15fcd38b8cf2cab9 (diff) | |
| download | rust-61b38e76b2df9346c4005464e15900a0e654e44a.tar.gz rust-61b38e76b2df9346c4005464e15900a0e654e44a.zip | |
Do not make incomplete or invalid suggestions (#14487)
The `unnecessary_filter_map` and `unnecessary_find_map` lints were making partial suggestions, proposing to replace the whole expression by only the method name, or a subexpression which contained explicit placeholders. Since even `MaybeIncorrect` suggestions must generate code that compiles, this changes those lints to recommandation lints with no code suggestion. Fixes #14486 changelog: [`unnecessary_find_map`, `unnecessary_filter_map`]: do not make suggestions that will not compile
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
