News for hackers. Stuff that matters.
Re:Non-Lexical Lifetimes in Rust by megrimlock on Monday May 02, 2016 @04:31PM (#11615315)
That Niko's text-arrow lifetime annotations are so helpful here suggests a rust IDE could offer similar highlighting or annotations to explain borrow checker errors.

One of the ergonomic hurdles to rust adoption by experienced C++ users is that the language looks similar enough that such people may think they fully understand the semantics even before they've fully internalized all the details. It's a tricky zone when something feels familiar enough that you don't realize the remaining mistakes in your conceptualization.

Re:Non-Lexical Lifetimes in Rust by kibwen on Monday May 02, 2016 @05:02PM (#11615586)
At this very moment there is a PR from Niko that is about to land that will overhaul borrow checker error message reporting (and error formatting in general): https://github.com/rust-lang/rust/pull/32756 .
Re:Non-Lexical Lifetimes in Rust by Manishearth on Monday May 02, 2016 @05:00PM (#11615572)
The borrow checker already outputs these arrows.

This output is improving, too https://github.com/rust-lang/rust/pull/32756 -- feedback appreciated!