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

Wrong display of diagnostic overlay in Rust #803

Closed
SpringHan opened this issue Dec 2, 2023 · 1 comment
Closed

Wrong display of diagnostic overlay in Rust #803

SpringHan opened this issue Dec 2, 2023 · 1 comment

Comments

@SpringHan
Copy link
Contributor

When writing Rust code, I found the display of diagnostic overlays is wrong.
After browsing the source code of lsp-bridge and the log buffer, it seems that the missing function leads to such a result.

--- [15:35:29.166883] Recv textDocument/inlayHint response (37405) from 'rust-analyzer' for project hire
ERROR:epc:ReturnError([Symbol('invalid-function'), Symbol('lsp-bridge--with-file-buffer')])
@SpringHan
Copy link
Contributor Author

Finally I found the cause.
I enabled native compilation for lsp-bridge. Before the issue happened, I have pulled the lastest version. So emacs started to compile the new code when I restarted emacs, which make lsp-bridge--with-file-buffer macro unloaded while running epc.

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

No branches or pull requests

1 participant