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
2024-12-01 19:10:44 -03: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-01 15:58:29 +01: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
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2025-02-21 15:49:44 +11:00
2024-09-23 09:14:30 +10: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
2024-10-04 09:09:20 +02:00
2025-03-14 19:50:03 +00:00
2025-02-04 17:02:37 +05:30
2024-11-22 16:49:10 +00:00
2024-11-22 16:49:10 +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-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
2024-11-22 11:12:15 -08:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-11-22 11:12:15 -08:00
2024-10-01 07:51:58 +00:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-11-22 11:12:15 -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
2024-10-14 10:07:57 +08:00
2024-10-14 10:07:57 +08:00
2024-10-14 10:07:57 +08: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
2024-10-01 07:51:58 +00:00
2024-11-26 02:50:48 +08:00
2024-10-01 07:51:58 +00:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2024-10-28 14:12:45 +11:00
2024-10-28 14:12:45 +11:00
2025-04-08 23:06:31 +03:00
2025-04-08 23:06:31 +03:00
2024-10-14 23:22:51 +02:00
2024-10-28 14:12:45 +11:00
2024-10-28 14:12:45 +11:00
2025-01-15 08:58:17 +00:00
2025-01-15 08:58:17 +00:00
2025-01-02 23:39:17 +00:00
2025-01-02 23:39:17 +00:00
2025-04-08 23:06:31 +03:00
2025-02-10 20:21:39 +00:00
2024-11-27 07:18:25 -08: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
2024-11-26 02:50:48 +08:00
2025-01-24 01:19:50 +00:00
2024-11-26 02:50:48 +08:00
2025-04-02 16:07:02 +11:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2025-04-03 21:41:58 +00:00
2025-02-14 00:44:10 -08:00
2024-10-28 14:12:45 +11:00
2024-10-28 14:12:45 +11:00
2024-10-28 14:12:45 +11:00
2024-10-28 14:12:45 +11:00
2024-10-28 14:12:45 +11: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
2024-11-26 02:50:48 +08:00
2024-08-16 21:27:06 +08:00
2024-11-28 14:32:45 -08:00
2024-11-28 14:32:45 -08:00
2024-11-28 14:32:45 -08:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-11-26 02:50:48 +08: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
2024-11-27 07:18:25 -08:00
2024-11-12 14:05:42 +00:00
2024-11-22 16:49:10 +00:00
2025-01-23 06:01:36 +00:00
2024-11-03 13:55:52 -08:00
2024-11-03 13:55:52 -08: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
2024-11-22 11:12:15 -08:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11: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
2024-11-26 02:50:48 +08:00
2024-11-27 07:18:25 -08:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08: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
2024-11-27 07:18:25 -08: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
2025-01-03 12:01:31 +01:00
2025-01-03 12:01:31 +01:00