79129673

Date: 2024-10-27 00:02:21
Score: 2
Natty:
Report link

Answering my own question: the code compiles just fine; this is a bug in RustRover's (2024.1 and 2024.2 EAP) borrow checker implementation.

Here is the false positive: rustrover false positive

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Aaron