os-rust/tests/ui/impl-trait/diagnostics
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
..
fully-qualified-path-impl-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fully-qualified-path-impl-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
highlight-difference-between-expected-trait-and-found-trait.rs Add test for #132013 2024-10-25 18:06:36 +00:00
highlight-difference-between-expected-trait-and-found-trait.svg Tweak highlighting when trait is available for different type 2024-10-25 18:06:39 +00:00