-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
C-supportCategory: support questionsCategory: support questions
Description
rust-analyzer version: rust-analyzer version: 0.3.1229-standalone
rustc version: rustc 1.66.0-nightly (8796e7a 2022-10-08)
relevant settings: n/a I think?
RA no longer works with today's nightly when it comes to proc macros:
This can be reproduced with the following code:
#[tokio::main]
async fn main() {
println!("Hello world");
}
fn f1() {}The error is:
proc macro `main` not expanded: Cannot create expander for /home/skyfall/Projects/custard/target/debug/deps/libtokio_macros-a5c4f94b46da1247.so: UnsupportedABIrust-analyzer[unresolved-proc-macro](https://rust-analyzer.github.io/manual.html#unresolved-proc-macro)
The rest of RA works, so in the example it'd warn about f1 not being used.
Metadata
Metadata
Assignees
Labels
C-supportCategory: support questionsCategory: support questions