rename to source_map

This commit is contained in:
Aleksey Kladov 2019-03-02 16:36:25 +03:00
parent f4c5383103
commit ca957edf96
2 changed files with 13 additions and 17 deletions

View file

@ -497,8 +497,8 @@ impl Function {
pub fn scopes(&self, db: &impl HirDatabase) -> ScopesWithSyntaxMapping {
let scopes = db.expr_scopes(*self);
let syntax_mapping = db.body_with_source_map(*self).1;
ScopesWithSyntaxMapping { scopes, syntax_mapping }
let source_map = db.body_with_source_map(*self).1;
ScopesWithSyntaxMapping { scopes, source_map }
}
pub fn signature(&self, db: &impl HirDatabase) -> Arc<FnSignature> {