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

Register snapshots. #17063

Merged
merged 1 commit into from
Sep 8, 2014
Merged

Register snapshots. #17063

merged 1 commit into from
Sep 8, 2014

Conversation

huonw
Copy link
Member

@huonw huonw commented Sep 7, 2014

Closes #16880.

@huonw
Copy link
Member Author

huonw commented Sep 7, 2014

r? @alexcrichton (it seems you pushed to snap-stage3 a few days ago but didn't submit them back, was there a particular reason?)

@alexcrichton
Copy link
Member

I was going to land it as part of #17029, but it looks like that may take longer than expected. Thanks for splitting this out @huonw!

bors added a commit that referenced this pull request Sep 8, 2014
@bors bors closed this Sep 8, 2014
@bors bors merged commit 524e1b2 into rust-lang:master Sep 8, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
fix: Fix inlay hint resolution being broken

So, things broke because we now store a hash (u64) in the resolution payload, but javascript and hence JSON only support integers of up to 53 bits (anything beyond gets truncated in various ways) which caused almost all hashes to always differ when resolving them. This masks the hash to 53 bits to work around that.

Fixes rust-lang/rust-analyzer#16962
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
fix: Fix inlay hint resolution being broken

So, things broke because we now store a hash (u64) in the resolution payload, but javascript and hence JSON only support integers of up to 53 bits (anything beyond gets truncated in various ways) which caused almost all hashes to always differ when resolving them. This masks the hash to 53 bits to work around that.

Fixes rust-lang/rust-analyzer#16962
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

Successfully merging this pull request may close these issues.

Clean up snake case warnings in middle/trans/build.rs
3 participants