File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/tools/rust-analyzer/crates/ide-db/src Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ pub fn parallel_prime_caches(
202
202
crates_currently_indexing : vec ! [ ] ,
203
203
crates_done : crate_def_maps_done,
204
204
crates_total : crate_def_maps_done,
205
- work_type : "Indexing " ,
205
+ work_type : "Done " ,
206
206
} ) ;
207
207
return ;
208
208
}
@@ -226,6 +226,15 @@ pub fn parallel_prime_caches(
226
226
}
227
227
}
228
228
229
+ if crate_def_maps_done == crate_def_maps_total {
230
+ cb ( ParallelPrimeCachesProgress {
231
+ crates_currently_indexing : vec ! [ ] ,
232
+ crates_done : crate_def_maps_done,
233
+ crates_total : crate_def_maps_done,
234
+ work_type : "Collecting Symbols" ,
235
+ } ) ;
236
+ }
237
+
229
238
let origin = & crate_id. data ( db) . origin ;
230
239
if origin. is_lang ( ) {
231
240
crate_import_maps_total += 1 ;
You can’t perform that action at this time.
0 commit comments