rename source_file -> parse

This commit is contained in:
Aleksey Kladov
2019-01-26 11:51:36 +03:00
parent ac757e114e
commit 9457b1f0e6
19 changed files with 41 additions and 47 deletions

View File

@@ -547,7 +547,7 @@ fn quux() {
fn infer(content: &str) -> String {
let (db, _, file_id) = MockDatabase::with_single_file(content);
let source_file = db.source_file(file_id);
let source_file = db.parse(file_id);
let mut acc = String::new();
for fn_def in source_file
.syntax()