Files
rust/tests/rustdoc-ui
Matthias Krüger 81549a3cc1 Rollup merge of #153881 - estebank:const-e0308, r=Kivooeo
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`
- On default field value using type parameter, provide more context (Fix rust-lang/rust#147748)
2026-03-15 16:52:44 +01:00
..
2026-02-17 16:51:44 +00:00
2025-12-10 12:27:34 +01:00
2025-12-10 12:27:34 +01:00
2023-01-11 09:32:08 +00:00
2025-12-02 18:25:13 +00:00
2025-12-10 12:27:34 +01:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00
2026-03-14 20:13:43 +00:00