about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2025-03-10 15:48:43 +0000
committerGitHub <noreply@github.com>2025-03-10 15:48:43 +0000
commita25cbd50ca170d59b187b2a8e56cb33470e524eb (patch)
tree05fa5fa58da8d7b9350eb5c9eeb81c9fa52807d3 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent819f3c7c6761cca808f110b84b6b6fc9964cf265 (diff)
parentc8e47f9a72b0c3009e17b4fb66667931ac335026 (diff)
downloadrust-a25cbd50ca170d59b187b2a8e56cb33470e524eb.tar.gz
rust-a25cbd50ca170d59b187b2a8e56cb33470e524eb.zip
Improve `needless_pass_by_value` suggestion (#13880)
Fixes https://github.com/rust-lang/rust-clippy/issues/13744.

A simple check to check if the type is an `Option` allows to improve the
suggestion.

changelog: Improve `needless_pass_by_value` suggestion
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions