mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Remove a low-value local variable.
This commit is contained in:
parent
94c9075b27
commit
4a57b80f3f
@ -267,13 +267,12 @@ impl Linker {
|
||||
|
||||
sess.compile_status()?;
|
||||
|
||||
let dep_graph = self.dep_graph;
|
||||
sess.time("serialize_work_products", || {
|
||||
rustc_incremental::save_work_product_index(sess, &dep_graph, work_products)
|
||||
rustc_incremental::save_work_product_index(sess, &self.dep_graph, work_products)
|
||||
});
|
||||
|
||||
let prof = sess.prof.clone();
|
||||
prof.generic_activity("drop_dep_graph").run(move || drop(dep_graph));
|
||||
prof.generic_activity("drop_dep_graph").run(move || drop(self.dep_graph));
|
||||
|
||||
// Now that we won't touch anything in the incremental compilation directory
|
||||
// any more, we can finalize it (which involves renaming it)
|
||||
|
Loading…
Reference in New Issue
Block a user