mozilla/rust-code-analysis

Linux release build failing on tags

marco-c opened this issue · 0 comments

error[E0308]: mismatched types
   --> /usr/local/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
    |
   ::: /usr/local/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
    |

We need to fix this in order to release.