bors
ab62d56603
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`
2025-05-04 15:16:06 +00:00
..
2025-05-04 15:16:06 +00:00
2025-04-17 19:45:28 +08:00
2025-04-17 19:45:28 +08:00
2025-04-25 14:33:16 +10:00
2025-03-03 23:53:42 +00:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-02-21 15:49:44 +11:00
2025-03-14 19:50:03 +00:00
2025-01-24 01:19:50 +00:00
2025-01-24 01:19:50 +00:00
2025-03-14 19:50:03 +00:00
2025-02-04 17:02:37 +05:30
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-02-10 20:21:39 +00:00
2025-04-10 09:56:37 +02:00
2025-04-10 09:56:37 +02:00
2025-02-14 00:44:10 -08:00
2025-04-04 13:24:26 +11:00
2025-04-04 13:24:26 +11:00
2025-04-08 12:06:42 +10:00
2025-04-08 12:06:42 +10:00
2025-02-10 20:21:39 +00:00
2025-04-16 11:10:10 +02:00
2025-04-16 11:10:10 +02:00
2025-04-16 11:10:10 +02:00
2025-04-17 19:45:28 +08:00
2025-04-17 19:45:28 +08:00
2025-03-25 17:33:09 +03:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2025-04-08 23:06:31 +03:00
2025-04-08 23:06:31 +03:00
2025-04-08 23:06:31 +03:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2025-04-03 21:41:58 +00:00
2025-04-03 21:41:58 +00:00
2025-01-24 01:19:50 +00:00
2025-04-02 16:07:02 +11:00
2025-04-03 21:41:58 +00:00
2025-02-14 00:44:10 -08:00
2025-04-03 21:41:58 +00:00
2025-02-10 20:21:39 +00:00
2025-02-21 15:49:46 +11:00
2025-02-21 15:49:46 +11:00
2025-04-03 21:41:58 +00:00
2025-04-03 21:41:58 +00:00
2025-03-03 23:53:42 +00:00
2025-03-07 14:51:07 +11:00
2025-02-10 20:21:39 +00:00
2025-04-03 21:41:58 +00:00
2025-02-04 17:02:37 +05:30
2025-02-04 17:02:37 +05:30
2025-04-24 22:14:23 +00:00
2025-04-24 22:14:23 +00:00
2025-01-24 01:19:50 +00:00
2025-04-08 12:06:40 +10:00
2025-04-08 12:06:40 +10:00
2025-04-25 20:50:57 +09:00
2025-04-25 20:50:57 +09:00
2025-05-03 17:22:52 +02:00
2025-05-03 17:22:52 +02:00
2025-05-03 17:22:52 +02:00
2025-04-02 06:20:35 +11:00
2025-04-02 06:20:35 +11:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-02-10 20:21:39 +00:00
2025-04-11 15:30:00 +08:00
2025-04-11 15:30:00 +08:00
2025-04-22 15:08:32 +10:00
2025-04-22 15:08:32 +10:00
2025-05-02 18:09:25 +02:00
2025-05-02 18:09:25 +02:00
2025-03-07 17:55:08 +00:00
2025-03-11 09:46:34 -07:00
2025-04-29 13:46:17 +10:00
2025-04-02 16:16:51 +11:00
2025-04-02 16:16:51 +11:00
2025-02-06 22:28:44 +00:00
2025-02-28 08:36:12 +11:00
2025-04-29 13:46:17 +10:00
2025-01-23 20:51:29 +08:00
2025-03-19 14:12:47 +01:00
2025-03-19 14:12:47 +01:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00
2025-01-23 20:51:29 +08:00