Re:Announcing Rust 1.28
by k__ on Thursday August 02, 2018 @12:15PM
(#17672631)
Yes, it's nice to see improvemed error messages. I read many people loathed what the borrow checker threw at them.
[ Parent
| on HN ]
Re:Announcing Rust 1.28
by steveklabnik on Thursday August 02, 2018 @12:30PM
(#17672797)
I'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-... for an example that I ran into in real code. (It's niko's blog but I supplied him with this example)