-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Description
I tried install racer using github repo but it usually fails. I figured out that some of the dependencies might be out of versions. I therefore changed their version. with that I was able to download and compile the dependencies, however a different problem appeared . When is below. Here is my Cargo.toml::
[dependencies]
log = "0.3.6"
syntex_syntax = "0.59.1"
syntex_errors = "0.59.1"
toml = { git = "https://github.com/alexcrichton/toml-rs.git", rev = "a626c36" }
env_logger = "0.4.3"
typed-arena = { git = "https://github.com/SimonSapin/rust-typed-arena.git" }
clap = { git = "https://github.com/kbknapp/clap-rs.git" }
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:103:6
|
103 | impl visit::Visitor for UseVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:147:6
|
147 | impl visit::Visitor for PatBindVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:184:6
|
184 | impl visit::Visitor for PatVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:340:14
|
340 | impl<'c, 's> visit::Visitor for LetTypeVisitor<'c, 's> {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:389:14
|
389 | impl<'c, 's> visit::Visitor for MatchTypeVisitor<'c, 's> {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:519:14
|
519 | impl<'c, 's> visit::Visitor for ExprTypeVisitor<'c, 's> {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:842:6
|
842 | impl visit::Visitor for StructVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:869:6
|
869 | impl visit::Visitor for TypeVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:902:6
|
902 | impl visit::Visitor for TraitVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:916:6
|
916 | impl visit::Visitor for ImplVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:943:6
|
943 | impl visit::Visitor for ModVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:956:6
|
956 | impl visit::Visitor for ExternCrateVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:978:6
|
978 | impl visit::Visitor for GenericsVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:1005:6
|
1005 | impl visit::Visitor for EnumVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:1184:6
|
1184 | impl visit::Visitor for FnOutputVisitor {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error[E0106]: missing lifetime specifier
--> src/racer/ast.rs:1200:14
|
1200 | impl<'c, 's> visit::Visitor for FnArgTypeVisitor<'c, 's> {
| ^^^^^^^^^^^^^^ expected lifetime parameter
error: aborting due to 16 previous errors
error: Could not compile `racer`.
When I follow vscode missing tools , I got the below:
Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to parse manifest at `/home/dookl/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.0.10/Cargo.toml`
Caused by:
no `package` or `project` section found.
Metadata
Metadata
Assignees
Labels
No labels