about summary refs log tree commit diff
path: root/compiler/rustc_attr_parsing/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-10 19:45:56 +1000
committerGitHub <noreply@github.com>2025-08-10 19:45:56 +1000
commit934cb10f1b21be3a855951fb9b1f38094946aac8 (patch)
tree99b8b0382c9850a029e4e617f2aa502b2e024dd5 /compiler/rustc_attr_parsing/src
parent94b344d1af0cf378d710d2c5f7dcd9c8072fe5d4 (diff)
parenta70a312f172c9d74f0b01bd2a6e1d9d77bcf6771 (diff)
downloadrust-934cb10f1b21be3a855951fb9b1f38094946aac8.tar.gz
rust-934cb10f1b21be3a855951fb9b1f38094946aac8.zip
Rollup merge of #145191 - dianne:fix-borrow-suggestion-args, r=compiler-errors
`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.
Diffstat (limited to 'compiler/rustc_attr_parsing/src')
0 files changed, 0 insertions, 0 deletions