Skip to content

I can't get the expected error information with using analysis.diagnostic() in rust_analyzer api. #15599

Answered by Veykril
baiguoname asked this question in Q&A
Discussion options

You must be logged in to vote

That one probably comes from us invoking cargo check on save which is just the rust compiler's diagnostic being shown. The diagnostics function you are calling here only contains the rust-analyzer native diagnostics.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Veykril
Comment options

Veykril Sep 12, 2023
Collaborator

Answer selected by baiguoname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants