diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 14:25:46 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 14:25:46 +0100 |
commit | eb2f8063444b11257111f4f8ade990ec810e0361 (patch) | |
tree | 999cef9fc647293699515f1e0ac59492e64c1116 /crates/ra_ide/src/file_structure.rs | |
parent | 1142112c70b705f59b7d559d9d72cdc831865158 (diff) |
Rename TypeAliasDef -> TypeAlias
Diffstat (limited to 'crates/ra_ide/src/file_structure.rs')
-rw-r--r-- | crates/ra_ide/src/file_structure.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/file_structure.rs b/crates/ra_ide/src/file_structure.rs index 41603480e..8ef977761 100644 --- a/crates/ra_ide/src/file_structure.rs +++ b/crates/ra_ide/src/file_structure.rs | |||
@@ -132,7 +132,7 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> { | |||
132 | ast::EnumVariant(it) => decl(it), | 132 | ast::EnumVariant(it) => decl(it), |
133 | ast::TraitDef(it) => decl(it), | 133 | ast::TraitDef(it) => decl(it), |
134 | ast::Module(it) => decl(it), | 134 | ast::Module(it) => decl(it), |
135 | ast::TypeAliasDef(it) => { | 135 | ast::TypeAlias(it) => { |
136 | let ty = it.type_ref(); | 136 | let ty = it.type_ref(); |
137 | decl_with_type_ref(it, ty) | 137 | decl_with_type_ref(it, ty) |
138 | }, | 138 | }, |
@@ -339,7 +339,7 @@ fn very_obsolete() {} | |||
339 | label: "T", | 339 | label: "T", |
340 | navigation_range: 186..187, | 340 | navigation_range: 186..187, |
341 | node_range: 181..193, | 341 | node_range: 181..193, |
342 | kind: TYPE_ALIAS_DEF, | 342 | kind: TYPE_ALIAS, |
343 | detail: Some( | 343 | detail: Some( |
344 | "()", | 344 | "()", |
345 | ), | 345 | ), |