We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94c9075 commit 4a57b80Copy full SHA for 4a57b80
compiler/rustc_interface/src/queries.rs
@@ -267,13 +267,12 @@ impl Linker {
267
268
sess.compile_status()?;
269
270
- let dep_graph = self.dep_graph;
271
sess.time("serialize_work_products", || {
272
- rustc_incremental::save_work_product_index(sess, &dep_graph, work_products)
+ rustc_incremental::save_work_product_index(sess, &self.dep_graph, work_products)
273
});
274
275
let prof = sess.prof.clone();
276
- prof.generic_activity("drop_dep_graph").run(move || drop(dep_graph));
+ prof.generic_activity("drop_dep_graph").run(move || drop(self.dep_graph));
277
278
// Now that we won't touch anything in the incremental compilation directory
279
// any more, we can finalize it (which involves renaming it)
0 commit comments