Make Debug less verbose for VfsPath and use Display in analysis-stats

This commit is contained in:
Laurențiu Nicola
2020-06-24 14:07:03 +03:00
parent dff62def2e
commit c15c22139f
2 changed files with 18 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ pub fn analysis_stats(
let original_file = src.file_id.original_file(db);
let path = vfs.file_path(original_file);
let syntax_range = src.value.syntax().text_range();
format_to!(msg, " ({:?} {:?})", path, syntax_range);
format_to!(msg, " ({} {:?})", path, syntax_range);
}
if verbosity.is_spammy() {
bar.println(msg.to_string());