mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
c75e601543
When the expected and found types have the same textual representation, we add clarifying in parentheses. We now visually highlight it in the output. Detect a corner case where the clarifying information would be the same for both types and skip it, as it doesn't add anything useful.