Files
rust/tests/ui/const-generics/generic_const_exprs
IsaiahCoroama 4882893863 Fix where-bound suggestion for legacy const generics
Point the suggestion at the const argument's span instead of the whole obligation, and parenthesize the snippet when the const expression needs it (e.g. `(N + 1) as usize`) so the suggested bound parses and compiles.

Also add regression tests for legacy const generic where-bound suggestions.
2026-07-13 21:07:56 -05:00
..
2025-06-11 15:30:15 +01:00
2025-05-21 20:20:19 +01:00
2025-05-21 20:20:19 +01:00
2025-05-21 20:20:19 +01:00
2025-05-21 20:20:19 +01:00
2025-02-14 00:37:23 +01:00
2025-02-14 00:37:23 +01:00
2026-03-28 16:18:11 +09:00
2026-03-28 16:18:11 +09:00
2026-03-28 16:18:11 +09:00
2026-03-28 16:18:11 +09:00
2025-06-11 15:30:15 +01:00
2025-05-21 20:20:19 +01:00
…