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.
I also meet the same problems, even simple println!("") give call to unsafe function is unsafe and requires an unsafe errors; but the project can be compiled without any problems.
env: R-A with latest nightly channel in zed editor.