about summary refs log tree commit diff
path: root/tests/ui/traits/alias/object-fail.stderr
AgeCommit message (Collapse)AuthorLines
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
2025-01-15Rework trait expansion to happen once explicitlyMichael Goulet-4/+9
2024-09-25Compiler: Rename "object safe" to "dyn compatible"León Orell Valerian Liehr-1/+1
2023-10-30Detect object safety errors when assoc type is missingEsteban Küber-1/+1
When an associated type with GATs isn't specified in a `dyn Trait`, emit an object safety error instead of only complaining about the missing associated type, as it will lead the user down a path of three different errors before letting them know that what they were trying to do is impossible to begin with. Fix #103155.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+21