Procmacro rust-analyzer error #9928
-
SummaryI get proc macro 'main' not expanded: Failed to run proc-macro server from path When I'm trying to use #[main::tokio] Reproduction Steps
Helix logNo response PlatformmacOS Terminal EmulatoriTerm Installation Methodsource Helix Version |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
This is a rust-analyzer issue. You probably have an outdated rust-analyzer installation relative to your rust installation. |
Beta Was this translation helpful? Give feedback.
-
Oh, sorry, it's true. For some reason rustup doesn't install appropriate version of rust-analyser so I had to install the binary from their repo |
Beta Was this translation helpful? Give feedback.
-
@DoctorRyner , I'm on an M1 ARM Mac and struggling to install the binary. Is there any chance you know how to do this on Mac? |
Beta Was this translation helpful? Give feedback.
-
@DoctorRyner , so you download rust-analyzer-darwin-arm64.vsix? I assume after that:
Could you steer me right wherever I'm wrong here? |
Beta Was this translation helpful? Give feedback.
Oh, sorry, it's true. For some reason rustup doesn't install appropriate version of rust-analyser so I had to install the binary from their repo