Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Can't get these lifetimes to work
I'm trying to make a borrow that I didn't expect to cause issues. No data is mutated whatsoever.
I've tried to strip down my code close to the minimum.
This is failing in the call to drawing::draw_figure
. The lifetimes of figure
and data_source
are getting intricated, and the compiler is failing, despite none of the 2 objects is used after the draw_figure
function.
Please help !
3 posts - 3 participants
🏷️ Rust_feed