-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Hello!
So, I'm new to Rust and I discovered something that has been making my experience worse so far: The tooltip that pops-up when there's an issue does not properly segment the output from the compiler.
For example, considering this tooltip:

I was quite confused at first because i read it all as one sentence (i.e. the placeholder _ is not allowed within types on item signatures for return types not allowed in type signatures, which made no sense to me at all)
But the actual error is just the first line, while the second line points to where the issue is, as shown in the compiler output:

Seeing the compiler output helped me make sense of the problem.
Perhaps the structure of the tooltip could be improved in such a manner that it's clearer, similar to how it is on the command line, what exactly is the problem.