You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I don't know if that has come up yet (a quick search didn't turn up anything) but I think that all messages of the compiler should have a hardcoded, unique ID that serves the following purposes:
Makes it easier to find other people experiencing the same problem
Reference documents that contain possible reasons and solutions for errors/warnings sorted by ID
Helps future IDEs to parse compiler message more correctly and display them to the user in whatever form they prefer (Currently you'd need a natural language AI for something like that)
The text was updated successfully, but these errors were encountered:
Awesome, I was not aware of that... I guess we can close that one, shortest issue-lifetime ever.
Still I think I'm gonna get in on this, something basic like a borrow-error should have an Id.
Also, I couldn't find a mention of --explain anywhere in the docs, must have been an oversight.
I believe the suggestion to pass --explain get printed when an error occurs, and until recently there haven't been many detailed explanations so there hasn't been much point emphasising it. However, there's now a lot more explanations and rust-lang/rust#25062 will soon be online.
Anyway, I'll close this as "already implemented". Thanks for filing. :)
Hi, I don't know if that has come up yet (a quick search didn't turn up anything) but I think that all messages of the compiler should have a hardcoded, unique ID that serves the following purposes:
The text was updated successfully, but these errors were encountered: