You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cargo install rust-code-analysis-cli does not compile #714
I've run cargo install rust-code-analysis-cli and it does not compile:
error[E0308]: mismatched types
--> /home/gww-certik/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-code-analysis-0.0.23/src/macros.rs:45:9
|
45 | $name::language()
| ^^^^^^^^^^^^^^^^^ expected struct `Language`, found struct `tree_sitter::Language`
...
235 | fn get_language() -> Language {
| -------- expected `Language` because of return type
|
::: /home/gww-certik/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-code-analysis-0.0.23/src/langs.rs:9:1
|
9 | / mk_langs!(
10 | | // 1) Name for enum
11 | | // 2) Language description
12 | | // 3) Display name
... |
117 | | )
118 | | );
| |__- in this macro invocation
|
= note: perhaps two different versions of crate `tree_sitter` are being used?
= note: this error originates in the macro `get_language` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0308`.
error: could not compile `rust-code-analysis` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `rust-code-analysis-cli v0.0.23`, intermediate artifacts can be found at `/tmp/cargo-installriBlLL`
Caused by:
build failed
Activity
marco-c commentedon Dec 14, 2021
This was fixed in b4a30c4.
marco-c commentedon Dec 14, 2021
Version 0.0.24 contains the fix.
gww-certik commentedon Dec 15, 2021
Any ETA when will be available via
cargo install rust-code-analysis-cli?As currently
cargo search rust-code-analysis-clireturns version '0.0.23'.marco-c commentedon Dec 15, 2021
There was something wrong during the build of the release, we are investigating.
gww-certik commentedon Dec 15, 2021
marco-c commentedon Dec 15, 2021
This specific issue is resolved, there is another one now blocking the release.