diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-03-27 20:44:03 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-03-27 22:11:09 +0100 |
| commit | 01820a9efe3d7d09d858483f15fcd38b8cf2cab9 (patch) | |
| tree | 65348d32c50c6e0bfe28fe05443343e20e3c9713 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | a895265a4e44666c2c30de27f010c6467130c6e8 (diff) | |
| download | rust-01820a9efe3d7d09d858483f15fcd38b8cf2cab9.tar.gz rust-01820a9efe3d7d09d858483f15fcd38b8cf2cab9.zip | |
Do not make incomplete or invalid suggestions
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
