diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-11-20 14:33:54 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-11-20 14:33:54 +0000 |
commit | 713c3ea30b38199e05e1f70094d85177f16915f8 (patch) | |
tree | f4f3c59a59e4a607b77321cb685bf616824dc8f7 /crates/ra_analysis/src/descriptors/function | |
parent | 902778ccaefc7b51548cab459715aaf8653bbbc6 (diff) | |
parent | a2fdb41ace4de7737a3ba0e4ef5e68d0a41e924d (diff) |
Merge #234
234: Global module r=matklad a=matklad
This series of commits re-introdces `ModuleDescriptor` as one stop shop for all information about a module.
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_analysis/src/descriptors/function')
-rw-r--r-- | crates/ra_analysis/src/descriptors/function/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/descriptors/function/imp.rs b/crates/ra_analysis/src/descriptors/function/imp.rs index a7257acf9..e09deba0f 100644 --- a/crates/ra_analysis/src/descriptors/function/imp.rs +++ b/crates/ra_analysis/src/descriptors/function/imp.rs | |||
@@ -15,7 +15,7 @@ pub(crate) fn fn_syntax(db: &impl DescriptorDatabase, fn_id: FnId) -> FnDefNode | |||
15 | } | 15 | } |
16 | 16 | ||
17 | pub(crate) fn fn_scopes(db: &impl DescriptorDatabase, fn_id: FnId) -> Arc<FnScopes> { | 17 | pub(crate) fn fn_scopes(db: &impl DescriptorDatabase, fn_id: FnId) -> Arc<FnScopes> { |
18 | let syntax = db.fn_syntax(fn_id); | 18 | let syntax = db._fn_syntax(fn_id); |
19 | let res = FnScopes::new(syntax.borrowed()); | 19 | let res = FnScopes::new(syntax.borrowed()); |
20 | Arc::new(res) | 20 | Arc::new(res) |
21 | } | 21 | } |