diff options
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index fcae37bb7..ceff82fda 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -638,10 +638,7 @@ fn on_check_task( | |||
638 | let file_id = match world_state.vfs.read().path2file(&path) { | 638 | let file_id = match world_state.vfs.read().path2file(&path) { |
639 | Some(file) => FileId(file.0), | 639 | Some(file) => FileId(file.0), |
640 | None => { | 640 | None => { |
641 | log::error!( | 641 | log::error!("File with cargo diagnostic not found in VFS: {}", path.display()); |
642 | "File with cargo diagnostic not found in VFS: {}", | ||
643 | path.to_string_lossy() | ||
644 | ); | ||
645 | return Ok(()); | 642 | return Ok(()); |
646 | } | 643 | } |
647 | }; | 644 | }; |