diff options
Diffstat (limited to 'crates/ra_cli')
-rw-r--r-- | crates/ra_cli/src/analysis_stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_cli/src/analysis_stats.rs b/crates/ra_cli/src/analysis_stats.rs index c2a2b66d5..403aab352 100644 --- a/crates/ra_cli/src/analysis_stats.rs +++ b/crates/ra_cli/src/analysis_stats.rs | |||
@@ -70,7 +70,7 @@ pub fn run(verbose: bool, memory_usage: bool, path: &Path, only: Option<&str>) - | |||
70 | let src = f.source(db); | 70 | let src = f.source(db); |
71 | let original_file = src.file_id.original_file(db); | 71 | let original_file = src.file_id.original_file(db); |
72 | let path = db.file_relative_path(original_file); | 72 | let path = db.file_relative_path(original_file); |
73 | let syntax_range = src.ast.syntax().range(); | 73 | let syntax_range = src.ast.syntax().text_range(); |
74 | write!(msg, " ({:?} {})", path, syntax_range).unwrap(); | 74 | write!(msg, " ({:?} {})", path, syntax_range).unwrap(); |
75 | } | 75 | } |
76 | bar.set_message(&msg); | 76 | bar.set_message(&msg); |