Jacob Pratt
d517a4f0ae
Rollup merge of #139014 - xizheyin:issue-138931, r=oli-obk
...
Improve suggest construct with literal syntax instead of calling
Closing #138931
When constructing a structure through a format similar to calling a constructor, we can use verbose suggestions to hint at using literal syntax for clearer advice. The case of multiple fields is also considered here, provided that the field has the same number of arguments as CallExpr.
r? compiler
2025-03-27 13:11:20 -04:00
..
2025-03-10 18:12:47 +08:00
2025-03-15 06:34:36 +00:00
2025-03-11 13:14:21 +11:00
2025-03-26 19:40:28 +11:00
2025-03-20 08:59:43 +11:00
2025-03-26 19:40:30 +11:00
2025-03-26 15:30:12 +03:00
2025-03-26 15:30:12 +03:00
2025-03-19 17:37:35 +01:00
2025-03-25 16:48:03 +11:00
2025-03-11 13:14:21 +11:00
2025-03-26 15:46:40 +01:00
2025-03-26 19:40:28 +11:00
2025-03-24 00:29:21 +00:00
2025-03-17 14:08:09 +00:00
2025-03-26 07:54:26 +00:00
2025-03-26 21:59:00 +01:00
2025-03-21 06:56:47 +01:00
2025-03-26 15:46:05 +01:00
2025-03-10 18:12:47 +08:00
2025-03-23 19:08:54 +08:00
2025-03-25 16:48:03 +11:00
2025-03-13 11:28:35 +01:00
2025-03-14 19:50:03 +00:00
2025-03-27 13:11:17 -04:00
2025-03-26 15:30:12 +03:00
2025-03-11 13:14:21 +11:00
2025-03-10 18:12:47 +08:00
2025-03-11 13:14:21 +11:00
2025-03-10 18:12:47 +08:00
2025-03-22 10:56:14 +00:00
2025-03-26 17:18:35 +01:00
2025-03-19 20:54:10 +11:00
2025-03-26 17:18:35 +01:00
2025-03-24 15:02:09 +00:00
2025-03-15 06:34:36 +00:00
2025-03-11 13:14:21 +11:00
2025-03-23 18:18:47 +00:00
2025-03-27 15:57:22 +11:00
2025-03-18 13:28:56 +01:00
2025-03-27 15:57:24 +11:00
2025-03-25 08:22:35 +01:00
2025-03-20 12:40:36 +11:00
2025-03-20 08:59:43 +11:00
2025-03-15 06:42:48 +00:00
2025-03-26 19:40:27 +11:00
2025-03-27 13:11:18 -04:00
2025-03-26 19:40:31 +11:00
2025-03-12 17:27:43 +00:00
2025-03-21 21:23:50 +11:00
2025-03-27 15:57:25 +11:00
2025-03-26 04:39:38 +00:00
2025-03-27 13:11:17 -04:00
2025-03-23 07:30:18 +01:00
2025-03-26 15:30:12 +03:00
2025-03-20 14:31:34 +00:00
2025-03-25 12:40:02 +03:00
2025-03-26 13:09:36 +01:00
2025-03-27 13:11:17 -04:00
2025-03-27 13:11:20 -04:00
2025-03-20 08:59:43 +11:00
2025-03-20 08:59:50 +11:00
2025-03-26 19:40:27 +11:00
2025-03-20 08:59:43 +11:00
2025-03-27 13:11:17 -04:00
2025-03-20 08:59:43 +11:00
2025-03-26 00:06:46 +00:00
2025-03-27 07:47:39 +00:00
2025-03-12 10:19:32 -07:00
2025-03-18 07:17:16 +00:00
2025-03-24 16:57:07 +00:00
2025-03-26 04:39:38 +00:00
2025-03-15 06:34:36 +00:00
2025-03-22 11:59:17 +01:00