[rust-dev] Question about lifetime analysis (a 0.5 transition question)

Steve Jenson stevej at fruitless.org
Sat Dec 22 10:31:35 PST 2012


I've converted the red-black tree I wrote to use iter::BaseIter but am now
fighting with lifetime analysis with the switch to 0.5.

https://github.com/stevej/rustled/blob/master/red_black_tree.rs#L91

And the error I'm getting with 0.5 is:

http://pastebin.com/YK8v7EdA

I've read the docs on lifetimes several times now but it's not quite enough
to get me over this hurdle.


Thanks!
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20121222/b8a24efb/attachment.html>


More information about the Rust-dev mailing list