File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
crates/ide-completion/src Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1176,6 +1176,7 @@ fn main() { let _: m::Spam = S$0 }
1176
1176
is_private_editable: false,
1177
1177
postfix_match: None,
1178
1178
is_definite: false,
1179
+ bonus_score: 0,
1179
1180
},
1180
1181
trigger_call_info: true,
1181
1182
},
@@ -1204,6 +1205,7 @@ fn main() { let _: m::Spam = S$0 }
1204
1205
is_definite: false,
1205
1206
},
1206
1207
trigger_call_info: true,
1208
+ bonus_score: 0,
1207
1209
},
1208
1210
]
1209
1211
"# ] ] ,
@@ -2125,6 +2127,7 @@ fn foo() {
2125
2127
is_private_editable: false,
2126
2128
postfix_match: None,
2127
2129
is_definite: false,
2130
+ bonus_score: 0,
2128
2131
},
2129
2132
},
2130
2133
]
@@ -2162,6 +2165,19 @@ fn main() {
2162
2165
),
2163
2166
lookup: "foo",
2164
2167
detail: "fn() -> S",
2168
+ relevance: CompletionRelevance {
2169
+ exact_name_match: false,
2170
+ type_match: None,
2171
+ is_local: false,
2172
+ is_item_from_trait: false,
2173
+ is_name_already_imported: false,
2174
+ requires_import: false,
2175
+ is_op_method: false,
2176
+ is_private_editable: false,
2177
+ postfix_match: None,
2178
+ is_definite: false,
2179
+ bonus_score: 30,
2180
+ },
2165
2181
ref_match: "&@92",
2166
2182
},
2167
2183
]
You can’t perform that action at this time.
0 commit comments