Files
rust/tests/ui/error-codes
janwi_mac d02b4c8e77 Improve suggestions for unconstrained parameters in impl blocks
When an unconstrained type or lifetime parameter is detected in an
`impl`, provide more specific help based on its usage:
- If the parameter is entirely unused, suggest removing it.
- If it is used in the `impl` body but not the `Self` type, suggest
  including it in the `Self` type and the struct definition.

This also adds a comprehensive UI test for these cases.
2026-05-09 17:50:35 +12:00
..
…
…
…
…
2025-11-02 20:12:26 +00:00
…
2026-01-18 22:41:00 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-11 16:58:21 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-11-03 16:24:36 +00:00
…
…
…
…
…
…
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
…
…
…
…
…
…
…
2026-04-27 10:58:30 +08:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
…
2026-02-17 16:51:44 +00:00
…
…
…
…
…
…
…
…
…
2025-08-27 20:25:18 +02:00
…
…
…
…
…
…
2026-01-18 22:41:00 +01:00
…
…
2025-11-27 14:13:58 -05:00
2025-11-27 14:13:58 -05:00
…
…
2025-11-27 14:13:58 -05:00
…
…
…
…
…
…
…
2025-11-25 10:19:44 +01:00
2025-11-26 11:09:03 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-03-28 16:18:11 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
…
…
…
…
…
…
…
2025-08-14 18:18:42 +02:00
2025-09-18 09:16:58 -04:00
…
…
…
…
…
…
…
…
2025-12-12 11:32:26 +01:00