diff options
| author | Alex Macleod <alex@macleod.io> | 2025-03-16 15:03:14 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-16 15:03:14 +0000 |
| commit | 775a5c27123414c11376778f090f167831259ce8 (patch) | |
| tree | bc5121ed352085c16ca1ffab7f022dd2e3ffabbf /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 1617a2e519e8cfb2838400af1f9c8b1ec1ada307 (diff) | |
| parent | 1cd7022fb433e74c0e5e037a6af32b0c2153c51b (diff) | |
| download | rust-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
