Problems with proc macro expansions on m1 mac
rust-analyzer version: 0.4.1198-standalone (4e1a3da8f 2022-09-08)
rustc version: rustc 1.64.0-nightly (f8588549c 2022-07-18)
relevant settings: m1 mac latest macos
problem: proc-macro expansion error with uefi-rs. Link to the repo.

You probably need to update to a more recent nighly (from around 29 Jul or so).
Hmm, still the same problem. I dunno
Which version does your rust-toolchain.toml point to, that needs to point to a recent nightly (or one of the last ~4 stable versions)
Closing, since the last comment should answer the question, and OP didn't respond.