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

Analysis stops before finishing files #6672

Closed
noxabellus opened this issue Nov 29, 2020 · 3 comments
Closed

Analysis stops before finishing files #6672

noxabellus opened this issue Nov 29, 2020 · 3 comments

Comments

@noxabellus
Copy link

noxabellus commented Nov 29, 2020

In the latest stable release of the extension, I am getting some failures of analysis. The analysis appears to stop before processing all of the items in some files. As shown here, a function at the bottom of my file has no information available, while the same types and information are available for the function right above it.
rust-analyzer-fail

Edit: Removed "random" from op and title because it is consistently the same items in the same files that fail, though the files do not seem noticeably different in content than any other. Arbitrary might be a better term

@noxabellus
Copy link
Author

I have just tried rolling my version back up to a few months ago and it doesn't resolve the issue, though I wasn't having this problem last week. I'm guessing this is something to do with updating rust itself and not the extension/server

@noxabellus
Copy link
Author

This error only seems to happen when my toolchain is set to the nightly branch. On stable, there is no issue. So I rolled back my nightly rust version night by night until I found a version where this error did not appear. The last working version for me is nightly-2020-10-26-x86_64-unknown-linux-gnu - rustc 1.49.0-nightly (4760b8fb8 2020-10-25)

@noxabellus noxabellus changed the title Analysis randomly stops before finishing files Analysis stops before finishing files Nov 29, 2020
@jonas-schievink
Copy link
Contributor

This should now be fixed thanks to #6723

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

2 participants