diff options
author | Aleksey Kladov <[email protected]> | 2019-12-20 11:29:25 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-20 11:29:25 +0000 |
commit | f42697e54b9d0a040011cb04c266d51710e249f1 (patch) | |
tree | d2016e6e3ce596e6a4b3e44f4894b5a411c62789 /crates/ra_hir_def/src/nameres | |
parent | fe1b160dcfdeb3f582ccae1440c9580ade0beb39 (diff) |
Support for nested traits
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 74c3d4670..a1ea130e0 100644 --- a/crates/ra_hir_def/src/nameres/collector.rs +++ b/crates/ra_hir_def/src/nameres/collector.rs | |||
@@ -802,7 +802,7 @@ where | |||
802 | PerNs::values(def.into()) | 802 | PerNs::values(def.into()) |
803 | } | 803 | } |
804 | raw::DefKind::Trait(ast_id) => { | 804 | raw::DefKind::Trait(ast_id) => { |
805 | let def = TraitLoc { container: module, ast_id: AstId::new(self.file_id, ast_id) } | 805 | let def = TraitLoc { container, ast_id: AstId::new(self.file_id, ast_id) } |
806 | .intern(self.def_collector.db); | 806 | .intern(self.def_collector.db); |
807 | 807 | ||
808 | PerNs::types(def.into()) | 808 | PerNs::types(def.into()) |