mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-22 22:27:08 +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.