mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 02:53:43 +00:00
`suggest_borrow_generic_arg`: use the correct generic args The suggestion now gets calls' generic arguments from the callee's type to handle cases where the callee isn't an identifier expression. Fixes rust-lang/rust#145164.