Esteban Küber
aa82fd6d1d
Tweak highlighting when trait is available for different type
...
When printing
```
= help: the trait `chumsky::private::ParserSealed<'_, &'a str, ((), ()), chumsky::extra::Full<EmptyErr, (), ()>>` is implemented for `Then<Ignored<chumsky::combinator::Filter<chumsky::primitive::Any<&str, chumsky::extra::Full<EmptyErr, (), ()>>, {closure@src/main.rs:9:17: 9:27}>, char>, chumsky::combinator::Map<impl CSTParser<'a, O>, O, {closure@src/main.rs:11:24: 11:27}>, (), (), chumsky::extra::Full<EmptyErr, (), ()>>`
= help: for that trait implementation, expected `((), ())`, found `()`
```
Highlight only the `expected` and `found` types, instead of the full type in the first `help`.
2024-10-25 18:06:39 +00:00
..
2024-10-21 15:11:20 +02:00
2024-10-21 15:22:17 +01:00
2024-10-24 10:59:40 -03:00
2024-10-07 11:15:04 -07:00
2024-10-24 09:46:36 +00:00
2024-10-23 09:14:41 +01:00
2024-10-24 00:41:27 +00:00
2024-10-23 22:15:59 +02:00
2024-10-24 14:19:55 +11:00
2024-10-23 09:14:41 +01:00
2024-10-22 12:55:16 +00:00
2024-10-25 14:24:05 +11:00
2024-10-25 14:24:05 +11:00
2024-10-25 14:24:05 +11:00
2024-10-23 09:14:41 +01:00
2024-10-24 17:02:11 +11:00
2024-10-07 11:10:53 -07:00
2024-10-22 07:37:54 +01:00
2024-09-22 19:11:29 -04:00
2024-10-23 02:45:24 -07:00
2024-10-23 22:11:05 +02:00
2024-10-24 20:28:20 +00:00
2024-10-19 22:32:38 +08:00
2024-09-26 19:51:14 +00:00
2024-09-22 19:11:29 -04:00
2024-10-24 09:46:36 +00:00
2024-10-24 20:28:20 +00:00
2024-10-24 09:46:36 +00:00
2024-10-24 09:46:36 +00:00
2024-10-23 09:14:41 +01:00
2024-10-10 12:49:18 +02:00
2024-10-14 23:22:51 +02:00
2024-10-24 09:46:36 +00:00
2024-10-18 00:29:31 +07:00
2024-10-08 18:21:16 -06:00
2024-10-24 20:28:20 +00:00
2024-10-22 03:24:40 +00:00
2024-10-25 14:01:36 +11:00
2024-09-22 19:11:29 -04:00
2024-09-22 19:11:29 -04:00
2024-10-24 09:46:36 +00:00
2024-10-24 09:46:36 +00:00
2024-10-24 10:35:39 +02:00
2024-10-23 02:45:24 -07:00
2024-10-23 22:15:59 +02:00
2024-10-24 09:46:36 +00:00
2024-10-24 23:43:31 +00:00
2024-10-23 02:45:24 -07:00
2024-10-14 23:22:51 +02:00
2024-10-24 18:50:55 +02:00
2024-10-23 09:14:41 +01:00
2024-10-24 09:46:36 +00:00
2024-10-03 12:47:08 +03:00
2024-10-23 19:46:52 +02:00
2024-10-23 09:14:41 +01:00
2024-10-22 15:28:38 +02:00
2024-10-16 15:44:16 +02:00
2024-10-20 18:18:01 +07:00
2024-10-24 09:46:36 +00:00
2024-10-24 09:46:36 +00:00
2024-10-23 09:14:41 +01:00
2024-10-24 14:19:53 +11:00
2024-10-25 18:06:39 +00:00
2024-10-24 09:46:36 +00:00
2024-10-19 18:07:35 +00:00
2024-10-24 09:46:36 +00:00
2024-10-24 09:46:36 +00:00
2024-10-22 23:13:04 +02:00
2024-10-24 23:23:55 -07:00