about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/attributes.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-05-04 15:16:06 +0000
committerbors <bors@rust-lang.org>2025-05-04 15:16:06 +0000
commitab62d56603293e9264b4d811d2d6f5b49a3264f9 (patch)
tree9787cb677e09b92b01f0f13189689dd86a9f7cf8 /compiler/rustc_codegen_gcc/src/attributes.rs
parent62c5f58f57670ce65e7fec34f8c4ba00c27da2d9 (diff)
parent5424e4f1db86d49e632d8a8e96f400e012c9153f (diff)
downloadrust-ab62d56603293e9264b4d811d2d6f5b49a3264f9.tar.gz
rust-ab62d56603293e9264b4d811d2d6f5b49a3264f9.zip
Auto merge of #140580 - jdonszelmann:variables-external-macros, r=m-ou-se
Don't name variables from external macros in borrow errors.

This came up as part of the expansion of format_args. However, it's a more general problem (and now solution).

I noticed that this does change another test, moving out of fields in derives on packed struct. However, I think this is a better error simply because it used to refer to `other.0` which is an implementation detail which doesn't really make sense.

cc `@m-ou-se`
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions