Skip to content

Commit 8208872

Browse files
committed
Fix parallel compiler.
1 parent cfe786e commit 8208872

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/rustc_query_system/src/dep_graph/serialized.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ use smallvec::SmallVec;
1212
use std::convert::TryInto;
1313

1414
#[cfg(parallel_compiler)]
15-
use {rustc_data_structures::sync::WorkerLocal, std::sync::mpsc, std::thread};
15+
use {
16+
rustc_data_structures::sync::WorkerLocal, rustc_index::vec::Idx, std::sync::mpsc, std::thread,
17+
};
1618

1719
// The maximum value of `SerializedDepNodeIndex` leaves the upper two bits
1820
// unused so that we can store multiple index types in `CompressedHybridIndex`,

0 commit comments

Comments
 (0)