about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2025-03-27 21:15:55 +0000
committerGitHub <noreply@github.com>2025-03-27 21:15:55 +0000
commit61b38e76b2df9346c4005464e15900a0e654e44a (patch)
tree65348d32c50c6e0bfe28fe05443343e20e3c9713 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta895265a4e44666c2c30de27f010c6467130c6e8 (diff)
parent01820a9efe3d7d09d858483f15fcd38b8cf2cab9 (diff)
downloadrust-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