Update test fixtures

This commit is contained in:
Lukas Wirth 2024-07-18 09:09:31 +02:00
parent 5264f86242
commit ef462ca88e
6 changed files with 301 additions and 195 deletions

View File

@ -20,9 +20,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 83..119, range: 83..119,
@ -50,9 +53,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 0..81, range: 0..81,
@ -80,9 +86,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 0..81, range: 0..81,
@ -110,9 +119,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 0..81, range: 0..81,
@ -140,9 +152,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 0..81, range: 0..81,
@ -170,9 +185,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 83..119, range: 83..119,
@ -200,9 +218,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 0..81, range: 0..81,

View File

@ -18,9 +18,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: TYPE_ALIAS, kind: TYPE_ALIAS,
range: 470..490, range: 470..490,
@ -46,9 +49,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: CONST, kind: CONST,
range: 413..434, range: 413..434,
@ -74,9 +80,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: CONST, kind: CONST,
range: 593..665, range: 593..665,
@ -104,9 +113,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: ENUM, kind: ENUM,
range: 185..207, range: 185..207,
@ -134,9 +146,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
range: 727..749, range: 727..749,
@ -164,9 +179,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MACRO_DEF, kind: MACRO_DEF,
range: 153..168, range: 153..168,
@ -192,9 +210,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STATIC, kind: STATIC,
range: 435..469, range: 435..469,
@ -222,9 +243,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 170..184, range: 170..184,
@ -282,9 +306,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 391..409, range: 391..409,
@ -314,9 +341,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 628..654, range: 628..654,
@ -346,9 +376,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 552..580, range: 552..580,
@ -376,9 +409,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 261..279, range: 261..279,
@ -404,9 +440,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: TRAIT, kind: TRAIT,
range: 334..373, range: 334..373,
@ -434,9 +473,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
range: 755..769, range: 755..769,
@ -464,9 +506,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: UNION, kind: UNION,
range: 208..222, range: 208..222,
@ -494,9 +539,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MODULE, kind: MODULE,
range: 492..530, range: 492..530,
@ -524,9 +572,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MODULE, kind: MODULE,
range: 667..677, range: 667..677,
@ -554,9 +605,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MACRO_RULES, kind: MACRO_RULES,
range: 51..131, range: 51..131,
@ -582,9 +636,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: FN, kind: FN,
range: 307..330, range: 307..330,
@ -612,9 +669,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: FN, kind: FN,
range: 242..257, range: 242..257,
@ -644,9 +704,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MACRO_RULES, kind: MACRO_RULES,
range: 1..48, range: 1..48,
@ -672,9 +735,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: FN, kind: FN,
range: 375..411, range: 375..411,
@ -702,9 +768,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
range: 684..721, range: 684..721,
@ -730,9 +799,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: FN, kind: FN,
range: 352..371, range: 352..371,
@ -773,9 +845,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
0, 0,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 508..528, range: 508..528,
@ -814,9 +889,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
1, 1,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
range: 111..143, range: 111..143,
@ -844,9 +922,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
1, 1,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
range: 0..20, range: 0..20,
@ -874,9 +955,12 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
1, 1,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
range: 25..59, range: 25..59,
@ -904,9 +988,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
1, 1,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
range: 65..105, range: 65..105,
@ -934,9 +1021,12 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
FileId(
1, 1,
), ),
Edition2021,
),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
range: 65..105, range: 65..105,

View File

@ -254,7 +254,7 @@ fn main() {
Annotation { Annotation {
range: 6..10, range: 6..10,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -262,7 +262,7 @@ fn main() {
}, },
data: Some( data: Some(
[ [
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -275,7 +275,7 @@ fn main() {
Annotation { Annotation {
range: 30..36, range: 30..36,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -308,7 +308,7 @@ fn main() {
Annotation { Annotation {
range: 53..57, range: 53..57,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -339,7 +339,7 @@ fn main() {
Annotation { Annotation {
range: 7..11, range: 7..11,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -347,7 +347,7 @@ fn main() {
}, },
data: Some( data: Some(
[ [
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -360,7 +360,7 @@ fn main() {
Annotation { Annotation {
range: 7..11, range: 7..11,
kind: HasImpls { kind: HasImpls {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -393,7 +393,7 @@ fn main() {
Annotation { Annotation {
range: 17..21, range: 17..21,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -428,7 +428,7 @@ fn main() {
Annotation { Annotation {
range: 7..11, range: 7..11,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -436,13 +436,13 @@ fn main() {
}, },
data: Some( data: Some(
[ [
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
range: 57..61, range: 57..61,
}, },
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -455,7 +455,7 @@ fn main() {
Annotation { Annotation {
range: 7..11, range: 7..11,
kind: HasImpls { kind: HasImpls {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -479,7 +479,7 @@ fn main() {
Annotation { Annotation {
range: 20..31, range: 20..31,
kind: HasImpls { kind: HasImpls {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -503,7 +503,7 @@ fn main() {
Annotation { Annotation {
range: 20..31, range: 20..31,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -511,7 +511,7 @@ fn main() {
}, },
data: Some( data: Some(
[ [
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -524,7 +524,7 @@ fn main() {
Annotation { Annotation {
range: 69..73, range: 69..73,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -589,7 +589,7 @@ fn main() {}
Annotation { Annotation {
range: 3..7, range: 3..7,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -624,7 +624,7 @@ fn main() {
Annotation { Annotation {
range: 7..11, range: 7..11,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -632,13 +632,13 @@ fn main() {
}, },
data: Some( data: Some(
[ [
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
range: 19..23, range: 19..23,
}, },
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -651,7 +651,7 @@ fn main() {
Annotation { Annotation {
range: 7..11, range: 7..11,
kind: HasImpls { kind: HasImpls {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -675,7 +675,7 @@ fn main() {
Annotation { Annotation {
range: 33..44, range: 33..44,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -683,7 +683,7 @@ fn main() {
}, },
data: Some( data: Some(
[ [
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -696,7 +696,7 @@ fn main() {
Annotation { Annotation {
range: 61..65, range: 61..65,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -747,7 +747,7 @@ mod tests {
Annotation { Annotation {
range: 3..7, range: 3..7,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -877,7 +877,7 @@ struct Foo;
Annotation { Annotation {
range: 0..71, range: 0..71,
kind: HasReferences { kind: HasReferences {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -891,7 +891,7 @@ struct Foo;
Annotation { Annotation {
range: 0..71, range: 0..71,
kind: HasImpls { kind: HasImpls {
pos: FilePosition { pos: FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),

View File

@ -2360,7 +2360,7 @@ fn test_hover_trait_show_qualifiers() {
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -2927,7 +2927,7 @@ fn test_hover_trait_has_impl_action() {
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -2946,7 +2946,7 @@ fn test_hover_struct_has_impl_action() {
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -2965,7 +2965,7 @@ fn test_hover_union_has_impl_action() {
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -2984,7 +2984,7 @@ fn test_hover_enum_has_impl_action() {
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -3003,7 +3003,7 @@ fn test_hover_self_has_impl_action() {
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -3025,7 +3025,7 @@ fn foo_$0test() {}
expect![[r#" expect![[r#"
[ [
Reference( Reference(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -8450,7 +8450,7 @@ impl Iterator for S {
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),

View File

@ -143,7 +143,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "B", text: "B",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -162,7 +162,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "A", text: "A",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -226,7 +226,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "C", text: "C",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -245,7 +245,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "B", text: "B",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -293,7 +293,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "C", text: "C",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -312,7 +312,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "B", text: "B",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -361,7 +361,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "B", text: "B",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -374,7 +374,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "X", text: "X",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -393,7 +393,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "A", text: "A",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -406,7 +406,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "X", text: "X",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -457,7 +457,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "Iterator", text: "Iterator",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
1, 1,
), ),
@ -470,7 +470,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "Item", text: "Item",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
1, 1,
), ),
@ -489,7 +489,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "Iterator", text: "Iterator",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
1, 1,
), ),
@ -502,7 +502,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "Item", text: "Item",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
1, 1,
), ),
@ -521,7 +521,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "Iterator", text: "Iterator",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
1, 1,
), ),
@ -534,7 +534,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "Item", text: "Item",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
1, 1,
), ),
@ -553,7 +553,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "MyIter", text: "MyIter",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -601,7 +601,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "Struct", text: "Struct",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -620,7 +620,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "Struct", text: "Struct",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -639,7 +639,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "Struct", text: "Struct",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
@ -657,7 +657,7 @@ fn main() {
InlayHintLabelPart { InlayHintLabelPart {
text: "self", text: "self",
linked_location: Some( linked_location: Some(
FileRange { FileRangeWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),

View File

@ -310,11 +310,6 @@
"command": "rust-analyzer.openWalkthrough", "command": "rust-analyzer.openWalkthrough",
"title": "Open Walkthrough", "title": "Open Walkthrough",
"category": "rust-analyzer" "category": "rust-analyzer"
},
{
"command": "rust-analyzer.openFAQ",
"title": "Open FAQ",
"category": "rust-analyzer"
} }
], ],
"keybindings": [ "keybindings": [