The borrow-of-moved-value error for `state` was already fixed in the codebase. Line 568 uses `.with_state(state.clone())` and `UnifiedState` derives Clone. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
474 B
474 B
bf-1p4v: Borrow of moved value state
The reported compile error was already fixed in the codebase. Line 568 in crates/miroir-proxy/src/main.rs correctly uses .with_state(state.clone()) instead of .with_state(state).
The fix works because:
UnifiedStatederivesClone(line 39)state.clone()is passed to.with_state(), leaving the originalstateavailable for the metrics server on line 590
Build verified: cargo build succeeds with no errors.