The borrow checker refers to a compile time analysis of the ownership concept used by the Rust programming language.
I don't completely understand lifetimes, but I think b's lifetime will end before self's. So, how to edit this code? …
rust lifetime borrowing