Skip to content

Commit 84c6d8c

Browse files
authored
Merge pull request steveklabnik#115 from steveklabnik/fix-build
Fix the build
2 parents 13e5eda + 1cc449f commit 84c6d8c

File tree

4 files changed

+33
-31
lines changed

4 files changed

+33
-31
lines changed

Cargo.lock

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ clap = "2.24.2"
1717
error-chain = "=0.11.0-rc.2"
1818
indicatif = "0.6.0"
1919
rayon = "0.8.2"
20-
rls-analysis = "0.4.0"
2120
serde = "1.0.11"
2221
serde_derive = "1.0.11"
2322
serde_json = "1.0.2"
2423

24+
[dependencies.rls-analysis]
25+
git = "http://github.com/steveklabnik/rls-analysis"
26+
2527
[build-dependencies]
2628
error-chain = "=0.11.0-rc.2"
2729
quote = "0.3"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use std::io::prelude::*;
2525
use std::path::PathBuf;
2626

2727
use analysis::AnalysisHost;
28-
use analysis::raw::DefKind;
28+
use analysis::DefKind;
2929
use indicatif::ProgressBar;
3030
use rayon::prelude::*;
3131

@@ -141,7 +141,7 @@ fn generate_and_load_analysis(config: &Config) -> Result<()> {
141141
let spinner = ProgressBar::new_spinner();
142142
spinner.enable_steady_tick(50);
143143
spinner.set_message("Loading save analysis data: In Progress");
144-
config.host.reload(manifest_path, manifest_path, true)?;
144+
config.host.reload(manifest_path, manifest_path)?;
145145
spinner.finish_with_message("Loading save analysis data: Done");
146146

147147
Ok(())

tests/source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ fn generate_analysis(source_file: &Path, tempdir: &Path) -> Result<AnalysisHost>
141141
workaround(&tempdir)?;
142142

143143
let host = AnalysisHost::new(Target::Debug);
144-
host.reload(tempdir, tempdir, true)?;
144+
host.reload(tempdir, tempdir)?;
145145

146146
Ok(host)
147147
}

0 commit comments

Comments
 (0)