about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-08 22:48:19 +0000
committerbors <bors@rust-lang.org>2024-07-08 22:48:19 +0000
commit058e6eaa3a54d0d68fffc100a2fc57684514ac2a (patch)
tree132144353f4bf472a5ea5dcd013a1c053e27b283 /compiler/rustc_codegen_gcc/src/errors.rs
parentf6020fbd4437bd7a22fe078d6705fe6103060983 (diff)
parentd9ab0a70f6fa79a6fb2169bc62e4fa59a689165a (diff)
downloadrust-058e6eaa3a54d0d68fffc100a2fc57684514ac2a.tar.gz
rust-058e6eaa3a54d0d68fffc100a2fc57684514ac2a.zip
Auto merge of #13043 - Jarcho:assign_clone, r=Manishearth
Refactor `assigning_clones`

Short list of changes:
* Inline and simplify `extract_call`
* Inline `is_ok_to_suggest`
* Inline `skip_drop_block`
* Check the HIR tree before the macro check
* Don't call `outer_expn_data`
* Use `find` instead of a loop in `clone_source_borrows_from_dest`

changelog: none
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions