Esteban Küber
b7fc1a7431
Add trait diff highlighting logic and use it in E0277
...
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.
2024-11-02 03:08:04 +00:00
..
2024-09-13 14:10:56 +03:00
2024-09-27 00:45:02 +00:00
2024-09-13 14:10:56 +03:00
2024-10-29 16:26:57 +00:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-09-22 13:55:06 -04:00
2024-09-30 20:43:51 +03:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-09-25 13:26:48 +02:00
2024-09-25 13:26:48 +02:00
2024-08-22 02:20:05 +00:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-09-22 13:55:06 -04:00
2024-10-26 11:35:56 +08:00
2024-09-25 13:26:48 +02:00
2024-09-25 13:26:48 +02:00
2024-10-04 14:06:48 +02:00
2024-10-04 14:06:48 +02:00
2024-10-16 13:44:56 -04:00
2024-11-02 03:08:04 +00:00
2024-09-25 13:26:48 +02:00
2024-10-30 23:42:50 +00:00
2024-10-30 23:42:50 +00:00
2024-08-22 02:20:05 +00:00
2024-09-27 00:45:02 +00:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-10-29 16:26:57 +00:00
2024-09-27 00:45:02 +00:00
2024-09-27 00:45:02 +00:00
2024-11-02 03:08:04 +00:00
2024-10-15 13:11:00 +02:00
2024-09-22 13:55:06 -04:00
2024-09-25 13:26:48 +02:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-10-10 01:13:29 +02:00
2024-09-25 13:26:48 +02:00
2024-08-28 22:55:57 +09:00
2024-09-27 00:45:02 +00:00
2024-11-02 03:08:04 +00:00
2024-10-16 13:44:56 -04:00
2024-09-26 17:17:11 +00:00
2024-10-09 20:58:27 +11:00
2024-09-25 13:26:48 +02:00