Closed jcmnn closed 6 years ago
This is happening because some of the code depends on NLL behaviors that were removed from the compiler earlier this year. I've had a code change in the works that could get rid of that behavior, but I've been focusing on other stuff and haven't been able to complete it.
However, if you want to build this the last version of the compiler it works on is nightly-2018-05-17
. Give that a go and it should run fine.
Looking through the code, this is designed better than other non-web-based GUI libraries. Are you accepting contributions? I'm interesting in contributing and using it in one of my projects after this issue is fixed.
I looked at the code and fixing this turned out to be fairly easy, so it should work on more recent compilers. As far as accepting contributions, sure! I'm currently working on a fairly big overhaul to the core event dispatch system though (on the revamped_elo
branch), and I don't think I'll be looking at PRs until that's done since that'll break a lot of stuff.
rustc version: 1.30.0-nightly
The borrow checker is complaining about borrowing
top_widget
because it is also borrowed as mutable. It fails in three spots:Log: