rust · rust/E0597
E0597
Value Dropped While Borrowed
A value goes out of scope while it is still referenced by another variable. The borrow outlives the value's lifetime, which would produce a dangling reference.
A value goes out of scope while it is still referenced by another variable. The borrow outlives the value's lifetime, which would produce a dangling reference.