We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf214ac commit 0d2f97eCopy full SHA for 0d2f97e
crates/ra_ide_api/src/change.rs
@@ -156,6 +156,10 @@ impl RootDatabase {
156
pub(crate) fn apply_change(&mut self, change: AnalysisChange) {
157
let _p = profile("RootDatabase::apply_change");
158
log::info!("apply_change {:?}", change);
159
+ {
160
+ let _p = profile("RootDatabase::apply_change/cancellation");
161
+ self.salsa_runtime().next_revision();
162
+ }
163
if !change.new_roots.is_empty() {
164
let mut local_roots = Vec::clone(&self.local_roots());
165
for (root_id, is_local) in change.new_roots {
0 commit comments