diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 15:49:13 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 15:49:13 +0100 |
commit | 0a9e3ccc262fbcbd4cdaab30384f8cb71584544b (patch) | |
tree | c320545ea73f6231ab9a199f7c402f1b77d461a8 /crates/ra_ide/src/file_structure.rs | |
parent | 6f8aa75329d0a4e588e58b8f22f7932bf3d3a706 (diff) |
Rename FieldDef -> Field
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 05ccc0b73..a8fd1a2fd 100644 --- a/crates/ra_ide/src/file_structure.rs +++ b/crates/ra_ide/src/file_structure.rs | |||
@@ -136,7 +136,7 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> { | |||
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 | }, |
139 | ast::RecordFieldDef(it) => decl_with_ascription(it), | 139 | ast::RecordField(it) => decl_with_ascription(it), |
140 | ast::ConstDef(it) => decl_with_ascription(it), | 140 | ast::ConstDef(it) => decl_with_ascription(it), |
141 | ast::StaticDef(it) => decl_with_ascription(it), | 141 | ast::StaticDef(it) => decl_with_ascription(it), |
142 | ast::ImplDef(it) => { | 142 | ast::ImplDef(it) => { |
@@ -249,7 +249,7 @@ fn very_obsolete() {} | |||
249 | label: "x", | 249 | label: "x", |
250 | navigation_range: 18..19, | 250 | navigation_range: 18..19, |
251 | node_range: 18..24, | 251 | node_range: 18..24, |
252 | kind: RECORD_FIELD_DEF, | 252 | kind: RECORD_FIELD, |
253 | detail: Some( | 253 | detail: Some( |
254 | "i32", | 254 | "i32", |
255 | ), | 255 | ), |