diff options
author | Aleksey Kladov <[email protected]> | 2020-01-16 16:33:07 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-01-16 16:33:07 +0000 |
commit | 595b06a1b8fcd215c828d65ee1dd1a30c2697de9 (patch) | |
tree | f8c33cb55704c2023a5f999ebb46fda0ba4c48ab /crates/ra_ide/src/references/name_definition.rs | |
parent | 9a6c26e34806a05260170029ace4b64adf484a23 (diff) |
Create modules via SourceBinder
Diffstat (limited to 'crates/ra_ide/src/references/name_definition.rs')
-rw-r--r-- | crates/ra_ide/src/references/name_definition.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_ide/src/references/name_definition.rs b/crates/ra_ide/src/references/name_definition.rs index 8c67c8863..1e4226ab9 100644 --- a/crates/ra_ide/src/references/name_definition.rs +++ b/crates/ra_ide/src/references/name_definition.rs | |||
@@ -25,6 +25,8 @@ pub enum NameKind { | |||
25 | #[derive(PartialEq, Eq)] | 25 | #[derive(PartialEq, Eq)] |
26 | pub(crate) struct NameDefinition { | 26 | pub(crate) struct NameDefinition { |
27 | pub visibility: Option<ast::Visibility>, | 27 | pub visibility: Option<ast::Visibility>, |
28 | /// FIXME: this doesn't really make sense. For example, builtin types don't | ||
29 | /// really have a module. | ||
28 | pub container: Module, | 30 | pub container: Module, |
29 | pub kind: NameKind, | 31 | pub kind: NameKind, |
30 | } | 32 | } |