about summary refs log tree commit diff
path: root/tests/ui/did_you_mean/trait-object-reference-without-parens-suggestion.stderr
AgeCommit message (Collapse)AuthorLines
2025-06-02Add missing 2015 edition directivesLukas Wirth-4/+4
These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
2025-05-27Use more detailed spans in dyn compat errors within bodiesOli Scherer-3/+13
2025-04-15Improve diagnostic for E0178 (bad `+` in type)León Orell Valerian Liehr-4/+4
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`).
2025-01-26Compiler: Finalize dyn compatibility renamingLeón Orell Valerian Liehr-1/+1
2025-01-22Refactor dyn-compatibility error and suggestionsTaylor Cramer-4/+5
This CL makes a number of small changes to dyn compatibility errors: - "object safety" has been renamed to "dyn-compatibility" throughout - "Convert to enum" suggestions are no longer generated when there exists a type-generic impl of the trait or an impl for `dyn OtherTrait` - Several error messages are reorganized for user readability Additionally, the dyn compatibility error creation code has been split out into functions. cc #132713 cc #133267
2024-09-25Compiler: Rename "object safe" to "dyn compatible"León Orell Valerian Liehr-1/+1
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-2/+12
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-01-11Move /src/test to /testsAlbert Larsan-0/+25