Jonathan Brouwer
07d9787382
Rollup merge of #161180 - GTimothy:detect_missing_binding_available-suggestion, r=mu001999
...
Detect missing binding available: add a MaybeIncorrect suggestion
When suggesting that a missing binding is available in a pattern but not used, if it is behind a `..` suggest a MaybeIncorrect fix replacing `..` with `{binding}, ..`
This suggestion could be a `tool_only_suggestion`, or a `span_suggestion_hidden`. Other types of suggestions seem a bit too verbose for this simple case.
The `tool_only_suggestion` (first commit) does not add any suggestion in stderr, the `span_suggestion_hidden` (second commit) shows a minimal help line.
This work was extracted from PR https://github.com/rust-lang/rust/pull/156239 .
2026-08-25 18:00:07 +02:00
..
2026-02-22 11:01:08 +00:00
2026-08-25 08:03:22 +00:00
2026-07-18 18:42:03 +02:00
2026-03-10 09:35:03 -04:00
2026-03-10 09:35:03 -04:00
2026-08-13 14:12:34 +02:00
2026-08-25 08:03:22 +00:00
2026-03-10 09:35:03 -04:00
2025-11-06 09:41:16 +08:00
2025-11-06 09:41:16 +08:00
2025-12-13 00:54:20 +09:00
2026-01-31 14:01:54 +01:00
2026-08-13 14:12:34 +02:00
2026-08-25 08:03:22 +00:00
2026-08-25 08:03:22 +00:00
2026-08-25 08:03:22 +00:00
2026-08-25 08:03:22 +00:00
2026-08-25 08:03:22 +00:00
2026-01-18 06:23:47 +01:00
2026-01-18 06:23:47 +01:00
2026-07-22 15:35:11 +02:00
2026-07-22 15:35:11 +02:00
2025-11-27 14:13:58 -05:00
2025-11-09 22:14:48 +00:00
2025-11-24 11:41:52 +09:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2026-03-17 17:54:01 +00:00
2026-07-22 15:26:51 +02:00
2026-07-22 15:26:51 +02:00
2026-06-18 05:28:05 +02:00
2025-12-16 02:10:08 +09:00
2025-12-16 02:10:08 +09:00
2026-01-18 06:23:47 +01:00
2025-11-27 00:39:52 +09:00
2025-12-09 17:29:23 +00:00
2026-08-25 08:03:22 +00:00
2026-08-25 08:03:22 +00:00
2026-08-25 08:03:22 +00:00
2025-11-13 01:36:35 +09:00
2025-11-13 01:36:35 +09:00
2026-01-31 14:01:54 +01:00
2026-01-31 14:01:54 +01:00
2025-11-09 22:14:48 +00:00
2026-05-08 15:10:37 +08:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2026-03-17 17:39:59 +08:00
2026-06-04 16:10:12 +00:00
2026-01-31 14:01:54 +01:00
2026-01-31 14:01:54 +01:00
2026-01-31 14:01:54 +01:00
2026-01-31 14:01:54 +01:00
2026-08-13 14:12:34 +02:00
2026-08-13 14:12:34 +02:00
2026-02-17 16:51:44 +00:00
2026-08-13 14:12:34 +02:00
2026-03-28 16:18:11 +09:00
2025-10-18 01:20:25 +00:00
2025-12-17 14:53:14 +00:00
2026-08-25 08:03:22 +00:00
2026-08-25 08:03:22 +00:00
2026-08-25 08:03:22 +00:00
2026-04-23 22:28:00 +02:00
2026-04-20 22:21:51 +08:00
2026-05-26 02:01:52 +08:00
2026-05-26 02:01:52 +08:00
2026-05-26 02:01:52 +08:00
2026-01-16 20:55:37 +01:00
2026-01-16 20:55:37 +01:00
2026-07-17 23:47:37 +02:00
2026-07-20 20:27:27 +02:00
2026-07-20 20:27:27 +02:00
2026-08-13 14:12:34 +02:00
2026-08-25 18:00:07 +02:00
2026-07-21 01:03:16 +03:00
2026-07-21 01:03:16 +03:00
2026-02-25 05:51:37 +00:00
2026-01-14 20:54:27 +01:00
2026-01-14 20:54:27 +01:00
2026-07-23 19:57:43 +02:00
2026-07-23 19:57:43 +02:00