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-02 15:37:15 +00:00
2025-06-07 13:42:30 +02:00
2025-06-02 15:37:15 +00:00
2025-06-07 13:42:30 +02:00
2026-02-17 08:45:08 +00:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2025-01-23 20:51:29 +08:00
2025-09-26 15:33:48 +02:00
2025-09-26 15:33:48 +02:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2026-01-16 06:50:34 +09:00
2026-03-14 20:13:43 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-01-28 23:39:46 -08:00
2025-01-23 20:51:29 +08:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-08-27 15:06:05 -04:00
2025-08-04 16:43:53 -04:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2025-10-11 21:59:51 -04:00
2024-11-24 03:32:11 +00:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-09-26 15:33:48 +02:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-01-24 00:41:45 +01:00
2024-02-16 20:02:50 +00:00
2026-01-16 06:50:34 +09:00
2026-01-16 06:50:34 +09:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-28 03:11:54 +08:00
2023-08-04 13:17:39 +02:00
2025-11-09 22:14:48 +00:00
2025-04-30 10:44:24 +03:00
2023-11-24 19:15:52 +01:00
2026-01-16 06:50:34 +09:00
2026-02-17 08:45:08 +00:00
2025-09-26 15:33:48 +02:00
2025-09-26 15:33:48 +02:00
2023-07-17 22:06:32 +00:00
2023-07-17 22:06:32 +00:00
2023-11-24 19:15:52 +01:00
2024-09-13 14:10:56 +03:00
2026-03-14 20:13:43 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-06-11 15:30:15 +01:00
2025-06-11 15:30:15 +01:00
2025-06-11 15:30:15 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-01-21 06:59:15 -07:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-10-28 14:20:28 +11:00
2024-10-28 14:20:28 +11:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2025-01-23 20:51:29 +08:00
2024-11-26 02:50:48 +08:00
2025-10-18 01:20:25 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-04-10 00:41:27 +00:00
2025-08-27 15:06:05 -04:00