rust/tests/ui/type-alias-impl-trait
León Orell Valerian Liehr 626db06409
Rollup merge of #133233 - estebank:const-errors, r=Nadrieril
Add context to "const in pattern" errors

*Each commit addresses specific diagnostics.*

- Add primary span labels
- Point at `const` item, and `const` generic param definition
- Reword messages and notes
- Point at generic param through which an associated `const` is being referenced
- Silence const in pattern with evaluation errors when they come from `const` items that already emit a diagnostic
- On non-structural type in const used as pattern, point at the type that should derive `PartialEq`
2024-12-05 07:29:54 +01:00
..
2024-10-04 23:38:41 +00:00
2024-10-04 23:38:41 +00:00
2024-10-04 23:38:41 +00:00
2024-10-04 23:38:41 +00:00
2024-06-13 10:41:52 +00:00
2024-06-13 10:41:52 +00:00
2024-10-04 23:38:41 +00:00