Skip to content

Commit 10763b0

Browse files
committed
Move salsa attach to end before call to run_ide_things
1 parent dcabe2b commit 10763b0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

crates/rust-analyzer/src/cli/analysis_stats.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,15 @@ impl flags::AnalysisStats {
335335
if !self.skip_const_eval {
336336
self.run_const_eval(db, &bodies, verbosity);
337337
}
338+
});
338339

339-
if self.run_all_ide_things {
340-
self.run_ide_things(host.analysis(), file_ids.clone(), db, &vfs, verbosity);
341-
}
340+
if self.run_all_ide_things {
341+
self.run_ide_things(host.analysis(), file_ids.clone(), db, &vfs, verbosity);
342+
}
342343

343-
if self.run_term_search {
344-
self.run_term_search(&workspace, db, &vfs, file_ids, verbosity);
345-
}
346-
});
344+
if self.run_term_search {
345+
self.run_term_search(&workspace, db, &vfs, file_ids, verbosity);
346+
}
347347

348348
let db = host.raw_database_mut();
349349
db.trigger_lru_eviction();

0 commit comments

Comments
 (0)