This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Failed to build from master #1526
Closed
Description
commit 59b77bc20831127f1398d8ab1129b7deeb9b901c (HEAD -> master, origin/master, itadinanta/master, itadinanta/HEAD)
Merge: 9d4e7f5 adf13c2
Author: Igor Matuszewski <[email protected]>
Date: Wed Jul 24 15:07:07 2019 +0200
Merge pull request #1459 from p-avital/master
Changed test detection regex to expand its scope
error[E0053]: method `after_parsing` has an incompatible type for trait
--> rls/src/build/rustc.rs:158:5
|
158 | fn after_parsing(&mut self, _compiler: &interface::Compiler) -> Compilation {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected bool, found enum `build::rustc::rustc_driver::Compilation`
|
= note: expected type `fn(&mut build::rustc::RlsRustcCalls, &build::rustc::rustc_interface::interface::Compiler) -> bool`
found type `fn(&mut build::rustc::RlsRustcCalls, &build::rustc::rustc_interface::interface::Compiler) -> build::rustc::rustc_driver::Compilation`
error[E0053]: method `after_analysis` has an incompatible type for trait
--> rls/src/build/rustc.rs:169:5
|
169 | fn after_analysis(&mut self, compiler: &interface::Compiler) -> Compilation {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected bool, found enum `build::rustc::rustc_driver::Compilation`
|
= note: expected type `fn(&mut build::rustc::RlsRustcCalls, &build::rustc::rustc_interface::interface::Compiler) -> bool`
found type `fn(&mut build::rustc::RlsRustcCalls, &build::rustc::rustc_interface::interface::Compiler) -> build::rustc::rustc_driver::Compilation`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0053`.
error: Could not compile `rls`.
To learn more, run the command again with --verbose.
nico@devuan-3xS:~/Projects/3rdParty/rls$ cargo --version
cargo 1.38.0-nightly (677a180f4 2019-07-08)
nico@devuan-3xS:~/Projects/3rdParty/rls$ rustc --version
rustc 1.38.0-nightly (07e0c3651 2019-07-16)
Metadata
Metadata
Assignees
Labels
No labels