Could we smartly elide some info from types in error messages? #43354
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
If there is a type error where the outer types don't match (e.g.,
Foo<T> != Bar<U>
) we could elide the un-important type info (e.g., reportFoo<...> != Bar<...>
. This would be effective where there are very long, complex types such as iterators or closures.The text was updated successfully, but these errors were encountered: