diff options
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 874cf72ef..6f198fcbc 100644 --- a/crates/ra_ide/src/file_structure.rs +++ b/crates/ra_ide/src/file_structure.rs | |||
@@ -126,7 +126,7 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> { | |||
126 | 126 | ||
127 | decl_with_detail(it, Some(detail)) | 127 | decl_with_detail(it, Some(detail)) |
128 | }, | 128 | }, |
129 | ast::StructDef(it) => decl(it), | 129 | ast::Struct(it) => decl(it), |
130 | ast::Union(it) => decl(it), | 130 | ast::Union(it) => decl(it), |
131 | ast::EnumDef(it) => decl(it), | 131 | ast::EnumDef(it) => decl(it), |
132 | ast::EnumVariant(it) => decl(it), | 132 | ast::EnumVariant(it) => decl(it), |
@@ -238,7 +238,7 @@ fn very_obsolete() {} | |||
238 | label: "Foo", | 238 | label: "Foo", |
239 | navigation_range: 8..11, | 239 | navigation_range: 8..11, |
240 | node_range: 1..26, | 240 | node_range: 1..26, |
241 | kind: STRUCT_DEF, | 241 | kind: STRUCT, |
242 | detail: None, | 242 | detail: None, |
243 | deprecated: false, | 243 | deprecated: false, |
244 | }, | 244 | }, |