about summary refs log tree commit diff
path: root/tests/ui/const-generics/defaults/trait_objects_fail.stderr
AgeCommit message (Collapse)AuthorLines
2024-11-02Add trait diff highlighting logic and use it in E0277Esteban Küber-2/+4
When a trait is not implemented for a type, but there *is* an `impl` for another type or different trait params, we format the output to use highlighting in the same way that E0308 does for types. The logic accounts for 3 cases: - When both the type and trait in the expected predicate and the candidate are different - When only the types are different - When only the trait generic params are different For each case, we use slightly different formatting and wording.
2023-05-12Note base types of coercionMichael Goulet-2/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+21