about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-28 07:03:57 +0000
committerbors <bors@rust-lang.org>2022-06-28 07:03:57 +0000
commit373bb573af57a65a233fa30bb1623512b5c831c3 (patch)
tree2d11a04a15537babc1ba3e29428267cb98b3d7f8 /compiler/rustc_codegen_llvm/src
parentd85539571ffa3befbbdd6b2933a79d31c28b42a0 (diff)
parentc10101cf1c62e504da6378ebf969cec2b74dccfb (diff)
downloadrust-373bb573af57a65a233fa30bb1623512b5c831c3.tar.gz
rust-373bb573af57a65a233fa30bb1623512b5c831c3.zip
Auto merge of #8639 - Jarcho:trivially_copy_pass_by_ref_5953, r=dswij
`trivially_copy_pass_by_ref` fixes

fixes #5953
fixes #2961

The fix for #5953 is overly aggressive, but the suggestion is so bad that it's worth the false negatives. Basically three things together:
* It's not obviously wrong
* It compiles
* It may actually work when tested

changelog: Don't lint `trivially_copy_pass_by_ref` when unsafe pointers are used.
changelog: Better track lifetimes when linting `trivially_copy_pass_by_ref`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions