about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-03-27 20:44:03 +0100
committerSamuel Tardieu <sam@rfc1149.net>2025-03-27 22:11:09 +0100
commit01820a9efe3d7d09d858483f15fcd38b8cf2cab9 (patch)
tree65348d32c50c6e0bfe28fe05443343e20e3c9713 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parenta895265a4e44666c2c30de27f010c6467130c6e8 (diff)
downloadrust-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/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions