-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unresolved import for gdnative::api #7146
Comments
Have you tried to enable followings in your settings : (gdnative::api is under
|
@edwin0cheng Configuration is set with same result. FWIW the configuration of vscode is managed from https://github.com/RXT0147/RXT0147 that has the repository in question as a submodule in |
Just following: Rust Analyzer Client Output
|
Oh , have you enabled proc-macro supported ?
|
@edwin0cheng Seems to work now O.o |
Great ! |
@edwin0cheng Can you elaborate why is procMacro important? Would like to add a note to the code about why it fixed it O.o |
Sure! It is not quite related to proc-macro, but to support
The flags above enabled RA to run |
See https://github.com/RXT0147/unnamedGame/pull/1/files#diff-e1cec28f123335e7874fd650acab37adf149e0878763e6b7ad700aeb493f0102R4
Seems like rust-analyzer misinterpreting unresolved import to me?
Rust analyzer v0.2.432
rustc 1.49.0 (e1884a8e3 2020-12-29)
cargo 1.49.0 (d00d64df9 2020-12-05)
The text was updated successfully, but these errors were encountered: