Skip to content

Commit

Permalink
Auto merge of rust-lang#13043 - Jarcho:assign_clone, r=Manishearth
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Jul 8, 2024
2 parents f6020fb + d9ab0a7 commit 058e6ea
Showing 1 changed file with 176 additions and 320 deletions.
Loading

0 comments on commit 058e6ea

Please sign in to comment.