diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-09 15:35:21 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-09 15:35:21 +0100 |
commit | 7258523a519207a033dedde8c498debe8da4a15e (patch) | |
tree | 4d2c08f9b357040ba135fa66aa5a981058f6f55c /crates/ra_batch/src | |
parent | 76f39b4b20d32b67fb60220e9d2a6ceb3f44fbb7 (diff) | |
parent | e5a8093dd497518c177d3c22404d80da44905336 (diff) |
Merge #1789
1789: Debug r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_batch/src')
-rw-r--r-- | crates/ra_batch/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_batch/src/lib.rs b/crates/ra_batch/src/lib.rs index 07a7e0c86..a14139b26 100644 --- a/crates/ra_batch/src/lib.rs +++ b/crates/ra_batch/src/lib.rs | |||
@@ -39,7 +39,7 @@ pub fn load_cargo(root: &Path) -> Result<(AnalysisHost, FxHashMap<SourceRootId, | |||
39 | sender, | 39 | sender, |
40 | Watch(false), | 40 | Watch(false), |
41 | ); | 41 | ); |
42 | let crate_graph = ws.to_crate_graph(&mut |path: &Path| { | 42 | let (crate_graph, _crate_names) = ws.to_crate_graph(&mut |path: &Path| { |
43 | let vfs_file = vfs.load(path); | 43 | let vfs_file = vfs.load(path); |
44 | log::debug!("vfs file {:?} -> {:?}", path, vfs_file); | 44 | log::debug!("vfs file {:?} -> {:?}", path, vfs_file); |
45 | vfs_file.map(vfs_file_to_id) | 45 | vfs_file.map(vfs_file_to_id) |