3 ms·
Yes, it's nice to see improvemed error messages. I read many people loathed what the borrow checker threw at them.
by k__ 8y ago
Yes, it's nice to see improvemed error messages. I read many people loathed what the borrow checker threw at them.
- steveklabnik 8y agoI'd like to mention that along those lines specifically, a lot of people have talked about NLL in terms of "the borrow checker accepts more of my code", but it also produces way better errors. See the "Diagnostics" section of http://smallcultfollowing.com/babysteps/blog/2018/06/15/mir-based-borrow-check-nll-status-update/ http://smallcultfollowing.com/babysteps/blog/2018/06/15/mir-... for an example that I ran into in real code. (It's niko's blog but I supplied him with this example)
- k__ 8y agoI think pouring more time and money into the error messages will pay out in the long run. Messages like that make coding low-level stuff fun again.