TL;DR: add any of your compiler error pet peeves as a response to this thread.
In the wish of improving the ergonomics of the language there’re, in my opinion, four big pillars:
- Language features: does this code that makes sense in my mind work without/with minor changes?
- Documentation: can I find the answers to my problems easily in an understandable way?
- API: does it map to my mental model of the problem and is it composable?
- Diagnostics: my code doesn’t work, does
rustctell me why in such a way that I can understand how to fix it?
Personally, I have been focusing on incrementally improving the last item. There’re already plenty of things that we’re aware needs to be improved, but I would I would like to see what people in the larger community would like to see improved. If you have any particularly unreadable, hard to understand or just plain wrong error messages the compiler has thrown at you, please add it to this thread, even if you know there’s already a ticket for it. My intention is to use the replies here as a signal to prioritize and extend the existing backlog.