If I use a type such as
Vec<Option<_>> the error message about it will print it as
Is that a bug or a feature?
Personally, I don’t like how long and syntactically noisy the messages are. I never write
std::option::Option, so in this case the message adds a detail that I don’t actually care about.
I suppose there’s a trade-off between being very, very clear about types and using names as written in the code/familar to users.
Would it be desirable to write types in errors in the context of the file they’re in? Taking into account prelude,