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

fix: add fallback for completion label details #15962

Merged
merged 1 commit into from Nov 25, 2023

Conversation

ahlinc
Copy link
Contributor

@ahlinc ahlinc commented Nov 25, 2023

This PR adds a fallback to a previous implementation in a case when the label detail field isn't supported by LSP client and the support isn't reported by the LSP initialize request. In this case additional info about trait and aliases would be merged into the label field as it was before the #15956 PR.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 25, 2023
@ahlinc
Copy link
Contributor Author

ahlinc commented Nov 25, 2023

@lnicola could you review and merge this small fix addition for my previous PR?

@lnicola
Copy link
Member

lnicola commented Nov 25, 2023

Saw it before, but couldn't look. Thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 25, 2023

📌 Commit 94cea46 has been approved by lnicola

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Nov 25, 2023

⌛ Testing commit 94cea46 with merge 35da60a...

@bors
Copy link
Collaborator

bors commented Nov 25, 2023

☀️ Test successful - checks-actions
Approved by: lnicola
Pushing 35da60a to master...

1 similar comment
@bors
Copy link
Collaborator

bors commented Nov 25, 2023

☀️ Test successful - checks-actions
Approved by: lnicola
Pushing 35da60a to master...

@bors bors merged commit 35da60a into rust-lang:master Nov 25, 2023
10 checks passed
@bors
Copy link
Collaborator

bors commented Nov 25, 2023

👀 Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.

@ahlinc ahlinc deleted the label-datail2 branch November 25, 2023 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants