Rust-analyer suddenly gaves a lot of non-sense errors

⚓ Rust    📅 2025-06-21    👤 surdeus    👁️ 7      

surdeus

Warning

This post was published 52 days ago. The information described in this article may have changed.

I am using rust-analyzer with VSCodium. My code is clean, passed cargo build without warnings.

Today when I was working on the code, after made some changes and save, I got a lot of errors, all on formatting kind of codes, like anyhow!("text {} {} {}", arg1, arg2, arg3) got me expected 3 arguments, found 4 and call to unsafe function is unsafe and requires an unsafe function or block. Also is epringln!, #[derive(SubCommand)].

I could not figure out what is going on. Restart everything did not help.

rust-analyzer version is 0.3.2500

1 post - 1 participant

Read full topic

🏷️ rust_feed