Skip to content

Conversation

@lnicola
Copy link
Member

@lnicola lnicola commented Dec 23, 2020

No description provided.

@matklad
Copy link
Contributor

matklad commented Dec 23, 2020

what the error looks like? (the easiest way to test that would be writing a test)

@lnicola
Copy link
Member Author

lnicola commented Dec 23, 2020

Something like:

Failed to deserialize InitializeParams: capabilities.workspace.workspaceEdit.changeAnnotationSupport: invalid type: boolean `true`, expected struct ChangeAnnotationWorkspaceEditClientCapabilities; {\"processId\":169421,\"clientInfo\":{\"name\":\"Visual Studio Code\",\"version\":\"1.52.1\"},\"locale\":\"en-gb\",\"rootPath\"

But I'd rather not include this test because it depends on the specific behavior of serde_path_to_error.

@matklad
Copy link
Contributor

matklad commented Dec 23, 2020

Perfect, I meant exactly this -- looking at a single error message

bors r+

not sure why I didn't do this before though...

@bors
Copy link
Contributor

bors bot commented Dec 23, 2020

@bors bors bot merged commit 27ccde9 into rust-lang:master Dec 23, 2020
@lnicola lnicola deleted the path-to-error branch December 23, 2020 12:18
@lnicola lnicola restored the path-to-error branch December 23, 2020 12:18
@lnicola lnicola deleted the path-to-error branch December 23, 2020 12:18
@kjeremy
Copy link
Contributor

kjeremy commented Dec 23, 2020

I didn't know this existed. Awesome.

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.

3 participants