the analyzer showed that "[init] function already declared".
but in fact that THERE IS THE ONLY NOE init function in my files.
From the screen-shot you've sent, it seems that there is a bigger problem, either with your code or with rust-analyzer than a function being defined twice.
- Please run
cargo checkand paste the output
- Please give a bigger screenshot of your code, which might show what's going on
I've seen similar behavior when I needed to update the Rust analyzer.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.