[stable(not yet) backport] Revert r-a completions breakage#133476
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use |
|
|
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
|
needs approval from r-a team before merging |
I believe it should be possible, in the rustc repo, to apply |
|
So here's what I've tried: had taken a rust-lang/rust-analyzer@81636f1 commit of mine and tried to revert it: |
|
✌️ @BoxyUwU, you can now approve this pull request! If @davidbarsky told you to " |
|
@SomeoneToIgnore That is because, slightly confusingly, that is a different commitish: |
22aa3d3 to
64a8db6
Compare
|
I've updated the hash in a separate commit: 64a8db6 The hash value is taken from the corresponding test in the r-a: |
|
The revert of 572ae69 applies cleanly so we just need to refind the ishes. |
64a8db6 to
1fa2adf
Compare
|
Thank you, I've found and reverted all commits properly + cherry-picked the hash change commit on top. |
|
I think unsquashed is fine. Perhaps reverting the merge commits would have been more to-the-point but I didn't explain how to find those (because it took a moment to remember how, honestly ^^;). |
|
Sorry, I've had to push the correct hash and now ensured that
so I cannot be sure that things are correct. |
1fa2adf to
f7c53a2
Compare
|
Trying the build (locally) |
|
@SomeoneToIgnore On my end, the following commands work and pass without issue:
Although I didn't set the |
|
Thank you, this way it all builds and the tests pass indeed. |
|
I think the answer is no, but how to set things up so that you are using that version so you can test the runtime interactions may be a question that @davidbarsky may be able to answer? I am not sure. |
The currently released stable does not have |
|
Does that make sense if we just change back to the following code? |
|
This is exactly what I've proposed in rust-lang/rust-analyzer#18503 (comment) Even more sense would be to fix nvim and helix, but... |
|
@bors r=BoxyUwU,davidbarsky rollup=never p=20 |
|
@bors p=100 |
|
☀️ Test successful - checks-actions |
Repeats the revert to `stable` rust-lang#133476 using https://patch-diff.githubusercontent.com/raw/rust-lang/rust/pull/133476.diff
[beta] Revert r-a completions breakage As suggested by `@cuviper` in https://rust-lang.zulipchat.com/#narrow/channel/185405-t-compiler.2Frust-analyzer/topic/Completion.20IDs/near/484770216 Repeats the revert to `stable` rust-lang#133476 using https://patch-diff.githubusercontent.com/raw/rust-lang/rust/pull/133476.diff cc `@BoxyUwU` `@workingjubilee`
This PR revers recent completion-related changes in r-a, which caused nvim and helix to malfunction.
Changes reverted:
textDocument/completionif possible rust-analyzer#18167See rust-lang/rust-analyzer#18503 (comment) for more context
cc @BoxyUwU