diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-26 07:12:24 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-26 07:12:24 +0000 |
commit | 2f270a51d266f30c03549ce85876c164e0203cd1 (patch) | |
tree | 574ac4b41f8497941c854e14ebc1382f0b668578 /crates/ra_ide_api_light/src/snapshots | |
parent | 154ab4206d2fd9493a3665fb72f9bd710a577944 (diff) | |
parent | ba4c5021c4e6fb8e190de945cad7c453e770e529 (diff) |
Merge #663
663: list enum variants in the outline r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api_light/src/snapshots')
-rw-r--r-- | crates/ra_ide_api_light/src/snapshots/tests__file_structure.snap | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/crates/ra_ide_api_light/src/snapshots/tests__file_structure.snap b/crates/ra_ide_api_light/src/snapshots/tests__file_structure.snap index b96398950..270f75a56 100644 --- a/crates/ra_ide_api_light/src/snapshots/tests__file_structure.snap +++ b/crates/ra_ide_api_light/src/snapshots/tests__file_structure.snap | |||
@@ -1,8 +1,8 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-24T18:04:00.090162+00:00" | 2 | created: "2019-01-26T07:11:02.463391362+00:00" |
3 | creator: insta@0.4.0 | 3 | creator: insta@0.5.2 |
4 | expression: structure | 4 | expression: structure |
5 | source: "crates\\ra_ide_api_light\\src\\structure.rs" | 5 | source: crates/ra_ide_api_light/src/structure.rs |
6 | --- | 6 | --- |
7 | [ | 7 | [ |
8 | StructureNode { | 8 | StructureNode { |
@@ -78,6 +78,26 @@ source: "crates\\ra_ide_api_light\\src\\structure.rs" | |||
78 | detail: None | 78 | detail: None |
79 | }, | 79 | }, |
80 | StructureNode { | 80 | StructureNode { |
81 | parent: Some( | ||
82 | 6 | ||
83 | ), | ||
84 | label: "X", | ||
85 | navigation_range: [169; 170), | ||
86 | node_range: [169; 170), | ||
87 | kind: ENUM_VARIANT, | ||
88 | detail: None | ||
89 | }, | ||
90 | StructureNode { | ||
91 | parent: Some( | ||
92 | 6 | ||
93 | ), | ||
94 | label: "Y", | ||
95 | navigation_range: [172; 173), | ||
96 | node_range: [172; 178), | ||
97 | kind: ENUM_VARIANT, | ||
98 | detail: None | ||
99 | }, | ||
100 | StructureNode { | ||
81 | parent: None, | 101 | parent: None, |
82 | label: "T", | 102 | label: "T", |
83 | navigation_range: [186; 187), | 103 | navigation_range: [186; 187), |