aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-11-27 17:36:07 +0000
committerGitHub <[email protected]>2020-11-27 17:36:07 +0000
commit59c4975b54066417d22ab4ae028f53e1ee1e847d (patch)
treed5a32e07ae29c483d688d64b73cc6051ea35c938
parentb6dd2c6cbd9a9af9856632770f53fb2c9069cd90 (diff)
parente49ba0d1df051b09e7dd8ce50e04f232178ad092 (diff)
Merge #6653
6653: Downgrade "failed to load" error to warning r=jonas-schievink a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/6596 bors r+ Co-authored-by: Jonas Schievink <[email protected]>
-rw-r--r--crates/rust-analyzer/src/reload.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/reload.rs b/crates/rust-analyzer/src/reload.rs
index 001bf5949..b2d35f535 100644
--- a/crates/rust-analyzer/src/reload.rs
+++ b/crates/rust-analyzer/src/reload.rs
@@ -205,7 +205,7 @@ impl GlobalState {
205 } 205 }
206 let res = vfs.file_id(&vfs_path); 206 let res = vfs.file_id(&vfs_path);
207 if res.is_none() { 207 if res.is_none() {
208 log::error!("failed to load {}", path.display()) 208 log::warn!("failed to load {}", path.display())
209 } 209 }
210 res 210 res
211 }; 211 };