about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2025-03-16 15:03:14 +0000
committerGitHub <noreply@github.com>2025-03-16 15:03:14 +0000
commit775a5c27123414c11376778f090f167831259ce8 (patch)
treebc5121ed352085c16ca1ffab7f022dd2e3ffabbf /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent1617a2e519e8cfb2838400af1f9c8b1ec1ada307 (diff)
parent1cd7022fb433e74c0e5e037a6af32b0c2153c51b (diff)
downloadrust-775a5c27123414c11376778f090f167831259ce8.tar.gz
rust-775a5c27123414c11376778f090f167831259ce8.zip
fix incorrect suggestions related to parentheses in `needless_return` (#14094)
close #12157

`needless_return` sometimes makes incorrect suggestions by omitting
necessary enclosing parentheses. This PR resolves the issue by using
`clippy_utils::sugg::Sugg`.

changelog: [`needless_return`]: now makes correct suggestions which
require enclosing parentheses
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions