You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to run .nrs file which is "nano" rust: a kind of subset of rust with limited syntax.
#[path = "./nanors/nano.nrs"]
mod nano;
The problem is that rust-analyzer failed to discover the file path probably because of the file extension and I get unresolved module, can't find module file error, but it is running perfectly if I compile into rust.
If I replace the extension with .rs, I get intellisense in vscode.
Why doesn't rust-analyzer follow rust compiler ? It must accept any filepath extension like rust and parse the file as usual.
I use the last rust-analyzer version in vscode and the last rust version.
Thank you in advance for your answers.
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to run .nrs file which is "nano" rust: a kind of subset of rust with limited syntax.
The problem is that rust-analyzer failed to discover the file path probably because of the file extension and I get
unresolved module, can't find module file
error, but it is running perfectly if I compile into rust.If I replace the extension with
.rs
, I get intellisense in vscode.Why doesn't rust-analyzer follow rust compiler ? It must accept any filepath extension like rust and parse the file as usual.
I use the last rust-analyzer version in vscode and the last rust version.
Thank you in advance for your answers.
The text was updated successfully, but these errors were encountered: