rust-analyzer linting error for template #11138
Unanswered
jackhodkinson
asked this question in
Q&A
Replies: 1 comment
-
These are analyzer-related settings i've got in my None of the other settings seemed to do anything. I've disabled macro-error for now, but seems like that is not a good idea.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Getting a linting error in VSCode and Zed in
main.rs
of the standard template. But my app compiles and runs correctly.This line:
Giving this linting error:
I've tried creating a tauri app with npm and bun. Both lead to the same issue in my
main.rs
file.I've tried messing around with the rust analyzer but can't get rid of this linting error.
This is the full code (from the template)
Beta Was this translation helpful? Give feedback.
All reactions