aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api_light/src/structure.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-25 10:51:37 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-25 10:51:37 +0000
commitcec637a3a91f0a34989dfde15ea853bbe8dc8a53 (patch)
treed813eb7be81dadbeced5ea0cf056d974cfd0fea5 /crates/ra_ide_api_light/src/structure.rs
parent7ffff9c74caae108db53366e3b90857b7c405c6c (diff)
parent78f10fcdc41d5c58e386bc99a94b34a2bdbaa4cd (diff)
Merge #898
898: rename type to type_alias in the AST as well r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api_light/src/structure.rs')
-rw-r--r--crates/ra_ide_api_light/src/structure.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api_light/src/structure.rs b/crates/ra_ide_api_light/src/structure.rs
index 75afd1181..dea494daa 100644
--- a/crates/ra_ide_api_light/src/structure.rs
+++ b/crates/ra_ide_api_light/src/structure.rs
@@ -112,7 +112,7 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> {
112 .visit(decl::<ast::EnumVariant>) 112 .visit(decl::<ast::EnumVariant>)
113 .visit(decl::<ast::TraitDef>) 113 .visit(decl::<ast::TraitDef>)
114 .visit(decl::<ast::Module>) 114 .visit(decl::<ast::Module>)
115 .visit(|td: &ast::TypeDef| decl_with_type_ref(td, td.type_ref())) 115 .visit(|td: &ast::TypeAliasDef| decl_with_type_ref(td, td.type_ref()))
116 .visit(|cd: &ast::ConstDef| decl_with_type_ref(cd, cd.type_ref())) 116 .visit(|cd: &ast::ConstDef| decl_with_type_ref(cd, cd.type_ref()))
117 .visit(|sd: &ast::StaticDef| decl_with_type_ref(sd, sd.type_ref())) 117 .visit(|sd: &ast::StaticDef| decl_with_type_ref(sd, sd.type_ref()))
118 .visit(|im: &ast::ImplBlock| { 118 .visit(|im: &ast::ImplBlock| {