Files
rust/tests/ui/const-generics/generic_const_exprs
Esteban Küber 87d8f5885b Provide more context on type errors in const context
- On `const` and `static` point at the type (like we do for let bindings)
- On fn calls, point at const parameter in fn definition
- On type, point at const parameter in type definition
- On array type lengths, explain that array length is always `usize`
- On enum variant discriminant, mention `repr`
2026-03-14 20:13:43 +00:00
..
2025-06-11 15:30:15 +01:00
2024-07-02 17:07:21 +01:00
2024-07-02 17:07:21 +01:00
2023-01-11 09:32:08 +00: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
2023-01-11 09:32:08 +00:00
2025-05-21 20:20:19 +01:00
2026-02-11 18:08:18 +09:00
2023-01-11 09:32:08 +00:00
2025-02-14 00:37:23 +01:00
2025-02-14 00:37:23 +01:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2025-06-11 15:30:15 +01:00
2025-05-21 20:20:19 +01:00
2024-12-18 16:35:06 +01:00
2023-01-11 09:32:08 +00:00