Skip to content
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

HELP! Rust analyser highlights entire main function #1979

Closed
PrisionMike opened this issue Nov 6, 2021 · 2 comments
Closed

HELP! Rust analyser highlights entire main function #1979

PrisionMike opened this issue Nov 6, 2021 · 2 comments
Labels
triage A bug report being investigated

Comments

@PrisionMike
Copy link

Description

Query initially posted in the rust-lang forum as I thought it was an IDE bug. Latest reply suggests it might be the rocket::main annotation that is causing problems.

Basically the rust analyser extension on VSCode now highlights the entire main code too promptly while I am writing the code. Makes the coding experience very frustrating.
[Can't seem to attatch the image to make it easier for the readers here. Kindly use the link to the rust-lang forum post.]

@PrisionMike PrisionMike added the triage A bug report being investigated label Nov 6, 2021
@Darksonn
Copy link

Darksonn commented Nov 6, 2021

See tokio-rs/tokio#4162 for how we handled the same issue in Tokio.

@jackHedaya
Copy link

It looks like this issue has been resolved on the forum post if the moderators want to close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage A bug report being investigated
Projects
None yet
Development

No branches or pull requests

3 participants