diff options
author | Aleksey Kladov <[email protected]> | 2019-12-20 11:22:55 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-20 11:22:55 +0000 |
commit | fe1b160dcfdeb3f582ccae1440c9580ade0beb39 (patch) | |
tree | 574aaf7ee9a3b57e39bf1129a6d20c1f4b330fb7 /crates/ra_hir_def/src/nameres | |
parent | ac5a3f611b05dbedd286169539335ae9f0fbb7b0 (diff) |
Support for nested statics, consts and type aliases
Diffstat (limited to 'crates/ra_hir_def/src/nameres')
-rw-r--r-- | crates/ra_hir_def/src/nameres/collector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/nameres/collector.rs b/crates/ra_hir_def/src/nameres/collector.rs index 1b39af61e..74c3d4670 100644 --- a/crates/ra_hir_def/src/nameres/collector.rs +++ b/crates/ra_hir_def/src/nameres/collector.rs | |||
@@ -796,7 +796,7 @@ where | |||
796 | PerNs::values(def.into()) | 796 | PerNs::values(def.into()) |
797 | } | 797 | } |
798 | raw::DefKind::Static(ast_id) => { | 798 | raw::DefKind::Static(ast_id) => { |
799 | let def = StaticLoc { container: module, ast_id: AstId::new(self.file_id, ast_id) } | 799 | let def = StaticLoc { container, ast_id: AstId::new(self.file_id, ast_id) } |
800 | .intern(self.def_collector.db); | 800 | .intern(self.def_collector.db); |
801 | 801 | ||
802 | PerNs::values(def.into()) | 802 | PerNs::values(def.into()) |