We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is the same issue as rust-analyzer #9606.
When using rust-analyzer with dotenv!, this mesage appears:
dotenv!
unresolved macro `dotenv!`rust-analyzerunresolved-macro-call
Example repo: https://github.com/allan2/dotenv-macro
src/main.rs:
use dotenvy_codegen::dotenv; fn main() { println!("{}", dotenv!("MSG")); }
The issue appears to be related to proc-macro-hack according to this comment.
proc-macro-hack
The text was updated successfully, but these errors were encountered:
Is this still an issue with newer versions of rust-analyzer? I'm not getting that message in either Neovim or Helix, with rust-analyzer 1.65.
Sorry, something went wrong.
I haven't seen this myself. Either way, proc_macro_hack can be removed: see #43.
proc_macro_hack
Remove dotenv macro RA warning
3c297da
#1 and [rust-analyzer #9606](rust-lang/rust-analyzer#9606) are resolved.
Successfully merging a pull request may close this issue.
This is the same issue as rust-analyzer #9606.
When using rust-analyzer with
dotenv!
, this mesage appears:Example repo: https://github.com/allan2/dotenv-macro
src/main.rs:
The issue appears to be related to
proc-macro-hack
according to this comment.The text was updated successfully, but these errors were encountered: