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-12 16:07:47 +0000
committerGitHub <noreply@github.com>2025-03-12 16:07:47 +0000
commit72540726b145ebeee28383e94d9c2e4f713d3a18 (patch)
tree6b380ce0ccc22125c0c1a76863dc8e2e8bf8d4d6 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent0730678e26772342b1477b475205da7da6d47768 (diff)
parent417d4e6210d5faf1db8ab872979e223dde7e42b2 (diff)
downloadrust-72540726b145ebeee28383e94d9c2e4f713d3a18.tar.gz
rust-72540726b145ebeee28383e94d9c2e4f713d3a18.zip
`needless_pass_by_value`: reference the innermost `Option` content (#14392)
If types such as `Option<Option<String>>` are not used by value, then
`Option<Option<&String>>` will be suggested, instead of
`Option<&Option<String>>`.

changelog: [`needless_pass_by_value`]: suggest using a reference on the
innermost `Option` content

fix #14375
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions