diff options
Diffstat (limited to 'crates/ra_ide/src/file_structure.rs')
-rw-r--r-- | crates/ra_ide/src/file_structure.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/file_structure.rs b/crates/ra_ide/src/file_structure.rs index 22cf8637a..91765140a 100644 --- a/crates/ra_ide/src/file_structure.rs +++ b/crates/ra_ide/src/file_structure.rs | |||
@@ -125,7 +125,7 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> { | |||
125 | ast::Variant(it) => decl(it), | 125 | ast::Variant(it) => decl(it), |
126 | ast::Trait(it) => decl(it), | 126 | ast::Trait(it) => decl(it), |
127 | ast::Module(it) => decl(it), | 127 | ast::Module(it) => decl(it), |
128 | ast::TypeAlias(it) => decl_with_type_ref(&it, it.type_ref()), | 128 | ast::TypeAlias(it) => decl_with_type_ref(&it, it.ty()), |
129 | ast::RecordField(it) => decl_with_type_ref(&it, it.ty()), | 129 | ast::RecordField(it) => decl_with_type_ref(&it, it.ty()), |
130 | ast::Const(it) => decl_with_type_ref(&it, it.ty()), | 130 | ast::Const(it) => decl_with_type_ref(&it, it.ty()), |
131 | ast::Static(it) => decl_with_type_ref(&it, it.ty()), | 131 | ast::Static(it) => decl_with_type_ref(&it, it.ty()), |