Closed ghost closed 4 years ago
Thanks for the report. I tried updating our tests so it works with the latest version of rls, but had troubles with a few tests. On top of that, there's a pull request that rewrites the entire test suit and I'd like to have that merged before submitting any more pull requests.
What is clippy?
Clippy is rust's clang-tidy.
@matteomaser You may also want to check https://github.com/ycm-core/ycmd/pull/1395 out.
There's now also ycm-core/ycmd#1417
I confirm the issue is fixed in the master version of ycmd. Thanks!
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:vim --version
.:YcmDebugInfo
.:YcmToggleLogs
command.install.py
(orcmake
/make
/ninja
) including its invocationIssue Details
main.rs
, clippy reports the issue successfully:tokio
as a dependency toCargo.toml
.I suspect it has something to do with the bundled rls version.
Workaround:
I replaced
/YouCompleteMe/third_party/ycmd/third_party/rls/bin
with a symlink to my~/.cargo/bin
and everything is working fine again. My.cargo/bin
contains the stable version of RLS (rls 1.41.0 (8f1c275 2019-12-10)
)Diagnostic data
Output of
vim --version
Output of
YcmDebugInfo
Contents of YCM, ycmd and completion engine logfiles
https://gist.github.com/matteomaser/de826d67069c851d08e3df431a9fe5ff
OS version, distribution, etc.