I replicated it with freshly installed Rust Analyzer 0.3.2971 (last update 2 days ago) on VS Code and can confirm this.
You can trust
cargo clippy/run
If compiler don't complain, you're practically good.
I have a few suspicion about it:
It's a Rust Analyzer bug,
Maybe version mismatch of RA (less likely) since destructuring assigment was stabilized around 1.59-ish
If i were to give an advice, try to submit a bug as @theemathas said (someone already linked the existing issue), and try to rely more on the compiler messages instead for checking your code
.
The bug will get fixed when the pull request is merged. The pull request is now open, so it's not merged. It will take some time until someone merges the pull request.