aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/display/snapshots
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/display/snapshots')
-rw-r--r--crates/ra_ide_api/src/display/snapshots/tests__file_structure.snap19
1 files changed, 14 insertions, 5 deletions
diff --git a/crates/ra_ide_api/src/display/snapshots/tests__file_structure.snap b/crates/ra_ide_api/src/display/snapshots/tests__file_structure.snap
index 3097977de..102efc026 100644
--- a/crates/ra_ide_api/src/display/snapshots/tests__file_structure.snap
+++ b/crates/ra_ide_api/src/display/snapshots/tests__file_structure.snap
@@ -1,5 +1,5 @@
1--- 1---
2created: "2019-05-23T22:23:35.168422050Z" 2created: "2019-06-28T20:46:18.274464142Z"
3creator: [email protected] 3creator: [email protected]
4source: crates/ra_ide_api/src/display/structure.rs 4source: crates/ra_ide_api/src/display/structure.rs
5expression: structure 5expression: structure
@@ -159,9 +159,18 @@ expression: structure
159 }, 159 },
160 StructureNode { 160 StructureNode {
161 parent: None, 161 parent: None,
162 label: "mc",
163 navigation_range: [284; 286),
164 node_range: [271; 303),
165 kind: MACRO_CALL,
166 detail: None,
167 deprecated: false,
168 },
169 StructureNode {
170 parent: None,
162 label: "obsolete", 171 label: "obsolete",
163 navigation_range: [288; 296), 172 navigation_range: [322; 330),
164 node_range: [271; 301), 173 node_range: [305; 335),
165 kind: FN_DEF, 174 kind: FN_DEF,
166 detail: Some( 175 detail: Some(
167 "fn()", 176 "fn()",
@@ -171,8 +180,8 @@ expression: structure
171 StructureNode { 180 StructureNode {
172 parent: None, 181 parent: None,
173 label: "very_obsolete", 182 label: "very_obsolete",
174 navigation_range: [341; 354), 183 navigation_range: [375; 388),
175 node_range: [303; 359), 184 node_range: [337; 393),
176 kind: FN_DEF, 185 kind: FN_DEF,
177 detail: Some( 186 detail: Some(
178 "fn()", 187 "fn()",