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
..
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-03-08 19:08:13 +00:00
2024-03-08 19:08:13 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-10-27 07:41:52 +01:00
2024-10-27 07:41:52 +01:00
2023-11-24 19:15:52 +01:00
2024-04-24 08:05:29 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-09-16 10:55:07 -04:00
2024-11-02 03:08:04 +00:00
2024-02-16 20:02:50 +00:00
2024-05-29 09:27:07 +00:00
2024-05-29 09:27:07 +00:00
2024-06-12 08:53:59 +00:00
2024-06-12 08:53:59 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2023-09-21 22:20:58 +02:00
2024-06-12 08:53:59 +00:00
2024-03-11 17:19:37 +00:00
2024-10-16 13:44:56 -04:00
2024-02-16 20:02:50 +00:00
2024-10-16 13:44:56 -04:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-03-03 18:53:35 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-04-21 20:10:12 -04:00
2024-04-21 20:10:12 -04:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-02-16 20:02:50 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-06-12 08:53:59 +00:00
2024-06-12 08:53:59 +00:00
2024-01-07 18:00:03 +00:00
2024-01-07 18:00:03 +00:00
2024-03-07 06:27:09 +00:00
2024-03-07 06:27:09 +00:00
2024-05-29 09:27:07 +00:00
2024-05-29 09:27:07 +00:00
2024-03-08 19:08:13 +00:00
2024-03-08 19:08:13 +00:00
2024-06-12 08:53:59 +00:00
2024-03-20 13:00:34 -04:00
2024-03-20 13:00:34 -04:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-05-06 16:04:57 +00:00