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,8 +20,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -50,8 +53,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -80,8 +86,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -110,8 +119,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -140,8 +152,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -170,8 +185,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -200,8 +218,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,

View File

@ -18,8 +18,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: TYPE_ALIAS, kind: TYPE_ALIAS,
@ -46,8 +49,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: CONST, kind: CONST,
@ -74,8 +80,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: CONST, kind: CONST,
@ -104,8 +113,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: ENUM, kind: ENUM,
@ -134,8 +146,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
@ -164,8 +179,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MACRO_DEF, kind: MACRO_DEF,
@ -192,8 +210,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STATIC, kind: STATIC,
@ -222,8 +243,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -282,8 +306,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -314,8 +341,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -346,8 +376,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -376,8 +409,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -404,8 +440,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: TRAIT, kind: TRAIT,
@ -434,8 +473,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
@ -464,8 +506,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: UNION, kind: UNION,
@ -494,8 +539,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MODULE, kind: MODULE,
@ -524,8 +572,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MODULE, kind: MODULE,
@ -554,8 +605,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MACRO_RULES, kind: MACRO_RULES,
@ -582,8 +636,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: FN, kind: FN,
@ -612,8 +669,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: FN, kind: FN,
@ -644,8 +704,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: MACRO_RULES, kind: MACRO_RULES,
@ -672,8 +735,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: FN, kind: FN,
@ -702,8 +768,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
@ -730,8 +799,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: FN, kind: FN,
@ -773,8 +845,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
0, FileId(
0,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -814,8 +889,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
1, FileId(
1,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
@ -844,8 +922,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
1, FileId(
1,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: STRUCT, kind: STRUCT,
@ -874,8 +955,11 @@
}, },
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
1, FileId(
1,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
@ -904,8 +988,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
1, FileId(
1,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,
@ -934,8 +1021,11 @@
), ),
), ),
loc: DeclarationLocation { loc: DeclarationLocation {
hir_file_id: FileId( hir_file_id: EditionedFileId(
1, FileId(
1,
),
Edition2021,
), ),
ptr: SyntaxNodePtr { ptr: SyntaxNodePtr {
kind: USE_TREE, kind: USE_TREE,

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

@ -2358,17 +2358,17 @@ fn test_hover_trait_show_qualifiers() {
check_actions( check_actions(
r"unsafe trait foo$0() {}", r"unsafe trait foo$0() {}",
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
offset: 13, offset: 13,
}, },
), ),
] ]
"#]], "#]],
); );
} }
@ -2925,17 +2925,17 @@ fn test_hover_trait_has_impl_action() {
check_actions( check_actions(
r#"trait foo$0() {}"#, r#"trait foo$0() {}"#,
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
offset: 6, offset: 6,
}, },
), ),
] ]
"#]], "#]],
); );
} }
@ -2944,17 +2944,17 @@ fn test_hover_struct_has_impl_action() {
check_actions( check_actions(
r"struct foo$0() {}", r"struct foo$0() {}",
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
offset: 7, offset: 7,
}, },
), ),
] ]
"#]], "#]],
); );
} }
@ -2963,17 +2963,17 @@ fn test_hover_union_has_impl_action() {
check_actions( check_actions(
r#"union foo$0() {}"#, r#"union foo$0() {}"#,
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
offset: 6, offset: 6,
}, },
), ),
] ]
"#]], "#]],
); );
} }
@ -2982,17 +2982,17 @@ fn test_hover_enum_has_impl_action() {
check_actions( check_actions(
r"enum foo$0() { A, B }", r"enum foo$0() { A, B }",
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
offset: 5, offset: 5,
}, },
), ),
] ]
"#]], "#]],
); );
} }
@ -3001,17 +3001,17 @@ fn test_hover_self_has_impl_action() {
check_actions( check_actions(
r#"struct foo where Self$0:;"#, r#"struct foo where Self$0:;"#,
expect![[r#" expect![[r#"
[ [
Implementation( Implementation(
FilePosition { FilePositionWrapper {
file_id: FileId( file_id: FileId(
0, 0,
), ),
offset: 7, offset: 7,
}, },
), ),
] ]
"#]], "#]],
); );
} }
@ -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": [