mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
rename to source_map
This commit is contained in:
parent
f4c5383103
commit
ca957edf96
2 changed files with 13 additions and 17 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue