Jonathan Brouwer
fa16f8102e
Rollup merge of #155693 - cclfmht:fix/issue-155508, r=ShoyuVanilla
...
Suggest enclosing format string with `""` under special cases
This commit adds suggestions on enclosing format string with `""` when it falls into the following 3 cases: `{}`, `{:?}`, `{:#?}` as mentioned in rust-lang/rust#155508 .
Currently, this commit only recognizes the above 3 cases. I wonder if we should generalize this to more cases, for example, appying this suggestion to `Block`s with only 0 or 1 `Stmt`, such as `{:#x}`, `{:^10}`, `{abc}`.
2026-04-26 19:06:27 +02:00
..
2026-04-25 23:07:48 +02:00
2026-04-15 20:03:07 +10:00
2026-04-19 15:58:02 +09:00
2026-04-24 23:58:52 +00:00
2026-04-21 23:21:23 +02:00
2026-04-19 15:58:02 +09:00
2026-04-25 23:07:52 +02:00
2026-04-25 08:46:06 +09:00
2026-04-26 10:50:05 +00:00
2026-04-20 00:18:28 +08:00
2026-04-21 16:53:39 +02:00
2026-04-25 23:07:48 +02:00
2026-04-25 23:07:48 +02:00
2026-04-24 12:45:55 +02:00
2026-04-22 22:28:22 +00:00
2026-04-18 19:13:30 +02:00
2026-04-15 13:50:43 +02:00
2026-04-10 15:06:57 +02:00
2026-04-17 23:43:08 +02:00
2026-04-26 19:06:26 +02:00
2026-04-22 19:28:44 +08:00
2026-04-25 23:07:50 +02:00
2026-04-25 23:07:51 +02:00
2026-04-03 15:34:33 +11:00
2026-04-23 14:42:47 +02:00
2026-04-25 11:11:23 +08:00
2026-04-05 13:38:16 +10:00
2026-04-23 09:38:23 +02:00
2026-03-31 20:16:57 +11:00
2026-04-22 02:57:46 +00:00
2026-04-23 15:02:55 +10:00
2026-04-25 23:07:49 +02:00
2026-04-24 19:59:32 +02:00
2026-04-25 23:07:48 +02:00
2026-04-03 13:44:12 +11:00
2026-04-24 10:02:13 +10:00
2026-04-25 16:15:55 +00:00
2026-04-20 13:52:07 +02:00
2026-04-20 00:18:28 +08:00
2026-04-25 01:21:52 -04:00
2026-04-21 05:35:16 +00:00
2026-04-21 12:28:25 +02:00
2026-04-24 02:42:52 -04:00
2026-04-24 19:59:32 +02:00
2026-04-20 00:18:28 +08:00
2026-04-23 18:22:48 +03:00
2026-04-22 19:18:31 +02:00
2026-04-22 10:22:14 +08:00
2026-04-16 07:08:08 +10:00
2026-04-25 23:07:53 +02:00
2026-04-21 12:28:22 +02:00
2026-04-08 21:09:07 +02:00
2026-04-24 21:25:20 +08:00
2026-04-25 23:07:48 +02:00
2026-04-20 00:18:28 +08:00
2026-04-24 18:19:20 +02:00
2026-04-23 16:06:24 +03:00
2026-04-24 20:46:55 +00:00
2026-04-21 12:28:22 +02:00
2026-04-24 12:55:11 +02:00
2026-04-21 12:28:26 +02:00