Can't get these lifetimes to work
⚓ Rust 📅 2025-08-14 👤 surdeus 👁️ 14I'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