about summary refs log tree commit diff
path: root/tests/ui/parser/trait-object-polytrait-priority.stderr
AgeCommit message (Collapse)AuthorLines
2025-04-15Improve diagnostic for E0178 (bad `+` in type)León Orell Valerian Liehr-2/+2
Namely, use a more sensical primary span. Don't pretty-print AST nodes for the diagnostic message. Why: * It's lossy (e.g., it doesn't replicate trailing `+`s in trait objects. * It's prone to leak error nodes (printed as `(/*ERROR*/)`) since the LHS can easily represent recovered code (e.g., `fn(i32?) + T`).
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-1/+6
Go over all structured parser suggestions and make them verbose style. When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2023-11-24Show number in error message even for one errorNilstrieb-1/+1
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-01-11Move /src/test to /testsAlbert Larsan-0/+9