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(
202202 crates_currently_indexing : vec ! [ ] ,
203203 crates_done : crate_def_maps_done,
204204 crates_total : crate_def_maps_done,
205- work_type : "Indexing " ,
205+ work_type : "Done " ,
206206 } ) ;
207207 return ;
208208 }
@@ -226,6 +226,15 @@ pub fn parallel_prime_caches(
226226 }
227227 }
228228
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+
229238 let origin = & crate_id. data ( db) . origin ;
230239 if origin. is_lang ( ) {
231240 crate_import_maps_total += 1 ;
You can’t perform that action at this time.
0 commit comments