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

Warnings don't show up until cargo clean or file change in VSCode #1929

Closed
arsdragonfly opened this issue Sep 27, 2019 · 3 comments
Closed

Comments

@arsdragonfly
Copy link
Contributor

Right now diagnostics depend on the JSON output of cargo check --all-targets --message-format json, which won't yield any warnings for files that have already been built. Only after cargo clean has been run and/or the file has been saved again will warnings pop up.

@kiljacken
Copy link
Contributor

@arsdragonfly This has presumably been fixed upstream at some point, as it seems to work on my end. Can you confirm?

@bjorn3
Copy link
Member

bjorn3 commented Jan 9, 2020

Cargo caches warnings since rust-lang/cargo#7450.

@kiljacken
Copy link
Contributor

Then we can probably close this one too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants