From 3a6d5c2bebfbbbbcf3c196bd83e67681e8ecaa1c Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Sat, 15 May 2021 17:23:16 +0200 Subject: Avoid creating anonymous nodes with zero or one dependency. --- compiler/rustc_incremental/src/persist/save.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_incremental') diff --git a/compiler/rustc_incremental/src/persist/save.rs b/compiler/rustc_incremental/src/persist/save.rs index 9603b102cbc..a8455854ebb 100644 --- a/compiler/rustc_incremental/src/persist/save.rs +++ b/compiler/rustc_incremental/src/persist/save.rs @@ -229,6 +229,7 @@ pub fn build_dep_graph( } Some(DepGraph::new( + &sess.prof, prev_graph, prev_work_products, encoder, -- cgit 1.4.1-3-g733a5