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
error[E0023]: this pattern has 5 fields, but the corresponding tuple variant has 6 fields
--> /home/thomas28/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/ast.rs:232:31
|
232 | visit::FnKind::Fn(_, _, ref fn_sig, _, ) => &*fn_sig.decl,
| ^ ^ ^^^^^^^^^^ ^ ^ expected 6 fields, found 5
|
help: use _ to explicitly ignore each field
|
232 | visit::FnKind::Fn(, _, ref fn_sig, _, _, _) => &*fn_sig.decl,
| +++
error[E0023]: this pattern has 5 fields, but the corresponding tuple variant has 6 fields
--> /home/thomas28/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/ast.rs:1261:31
|
1261 | visit::FnKind::Fn(_, _, ref fn_sig, _, ) => &*fn_sig.decl,
| ^ ^ ^^^^^^^^^^ ^ ^ expected 6 fields, found 5
|
help: use _ to explicitly ignore each field
|
1261 | visit::FnKind::Fn(, _, ref fn_sig, _, _, _) => &*fn_sig.decl,
| +++
Some errors have detailed explanations: E0023, E0053.
For more information about an error, try rustc --explain E0023.
error: could not compile racer due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile racer v2.2.2, intermediate artifacts can be found at /tmp/cargo-installODCwvH
The text was updated successfully, but these errors were encountered:
I have tried to install racer but I keep getting this error. I couldn't find it anywhere else.
Info
$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/thomas28/.rustup
installed toolchains
stable-x86_64-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu
active toolchain
stable-x86_64-unknown-linux-gnu (default)
rustc 1.60.0 (7737e0b5c 2022-04-04)
$rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: checking for self-updates
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.60.0 (7737e0b5c 2022-04-04)
nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.62.0-nightly (f4ec0e7cf 2022-04-22)
info: cleaning up downloads & tmp directories
Fail
$cargo +nightly install racer
Updating crates.io index
Installing racer v2.2.2
Compiling proc-macro2 v1.0.37
Compiling unicode-xid v0.2.2
Compiling syn v1.0.91
Compiling serde_derive v1.0.136
Compiling serde v1.0.136
Compiling memchr v2.4.1
Compiling libc v0.2.124
Compiling serde_json v1.0.79
Compiling log v0.4.16
Compiling cfg-if v1.0.0
Compiling itoa v1.0.1
Compiling unicode-width v0.1.9
Compiling ryu v1.0.9
Compiling quick-error v1.2.3
Compiling regex-syntax v0.6.25
Compiling termcolor v1.1.3
Compiling vec_map v0.8.2
Compiling convert_case v0.4.0
Compiling strsim v0.8.0
Compiling ansi_term v0.12.1
Compiling bitflags v1.3.2
Compiling lazy_static v1.4.0
Compiling humantime v2.1.0
Compiling lazycell v1.3.0
Compiling textwrap v0.11.0
Compiling humantime v1.3.0
Compiling quote v1.0.18
Compiling aho-corasick v0.7.18
Compiling atty v0.2.14
Compiling regex v1.5.5
Compiling clap v2.34.0
Compiling env_logger v0.7.1
Compiling derive_more v0.99.17
Compiling racer-interner v0.1.0
Compiling rls-span v0.5.4
Compiling racer-cargo-metadata v0.1.2
Compiling racer v2.2.2
error[E0053]: method
fallback_fluent_bundle
has an incompatible type for trait--> /home/thomas28/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/ast.rs:36:41
|
36 | fn fallback_fluent_bundle(&self) -> &Lrc<rustc_errors::FluentBundle> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected struct
fluent_bundle::bundle::FluentBundle
, found structLrc
| help: change the output type to match the trait:
&fluent_bundle::bundle::FluentBundle<fluent_bundle::resource::FluentResource, intl_memoizer::IntlLangMemoizer>
|
= note: expected fn pointer
fn(&DummyEmitter) -> &fluent_bundle::bundle::FluentBundle<fluent_bundle::resource::FluentResource, intl_memoizer::IntlLangMemoizer>
found fn pointer
fn(&DummyEmitter) -> &Lrc<fluent_bundle::bundle::FluentBundle<fluent_bundle::resource::FluentResource, intl_memoizer::IntlLangMemoizer>>
error[E0023]: this pattern has 5 fields, but the corresponding tuple variant has 6 fields
--> /home/thomas28/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/ast.rs:232:31
|
232 | visit::FnKind::Fn(_, _, ref fn_sig, _, ) => &*fn_sig.decl,
| ^ ^ ^^^^^^^^^^ ^ ^ expected 6 fields, found 5
|
help: use
_
to explicitly ignore each field|
232 | visit::FnKind::Fn(, _, ref fn_sig, _, _, _) => &*fn_sig.decl,
| +++
error[E0023]: this pattern has 5 fields, but the corresponding tuple variant has 6 fields
--> /home/thomas28/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/ast.rs:1261:31
|
1261 | visit::FnKind::Fn(_, _, ref fn_sig, _, ) => &*fn_sig.decl,
| ^ ^ ^^^^^^^^^^ ^ ^ expected 6 fields, found 5
|
help: use
_
to explicitly ignore each field|
1261 | visit::FnKind::Fn(, _, ref fn_sig, _, _, _) => &*fn_sig.decl,
| +++
Some errors have detailed explanations: E0023, E0053.
For more information about an error, try
rustc --explain E0023
.error: could not compile
racer
due to 3 previous errorswarning: build failed, waiting for other jobs to finish...
error: failed to compile
racer v2.2.2
, intermediate artifacts can be found at/tmp/cargo-installODCwvH
The text was updated successfully, but these errors were encountered: