Syntax Error: expected SEMICOLON, Rust Analyzer BugΒ #18745
Open
Description
opened on Dec 23, 2024
This is the continuation of the closed issue above.
I started having this issue a couple of weeks ago, I'm certain there is no issue with my syntax because even when I remove everything and just leave in the standard main function with the "Hello, World!" text it still gives this error.
The issue goes away if I restart VSCode as people did in the mentioned thread.
It also goes away if I make a new file and copy all my code into it again.
When I run cargo run
for that project it builds with no errors.
Although I could not exactly reproduce this error consistently, I think moving lines using Alt+ArrowKeys
could cause this sometimes.
Activity