I assumed it as a false positive, as I saw in some other posts about other plugins with the same false positive. But I would like to share and see more opinions
Thank you for reporting this. We are aware of this, and it is indeed a false-positive.
Nevertheless, we have released sonar-rust 1.0.3.786 that removes this problem.
It is available now on SonarQube Cloud, SonarQube Server 2025 release 3, and SonarQube Community Build 25.6