Fix parallel compiler.
This commit is contained in:
parent
cfe786e5e0
commit
8208872fa2
@ -12,7 +12,9 @@
|
||||
use std::convert::TryInto;
|
||||
|
||||
#[cfg(parallel_compiler)]
|
||||
use {rustc_data_structures::sync::WorkerLocal, std::sync::mpsc, std::thread};
|
||||
use {
|
||||
rustc_data_structures::sync::WorkerLocal, rustc_index::vec::Idx, std::sync::mpsc, std::thread,
|
||||
};
|
||||
|
||||
// The maximum value of `SerializedDepNodeIndex` leaves the upper two bits
|
||||
// unused so that we can store multiple index types in `CompressedHybridIndex`,
|
||||
|
Loading…
Reference in New Issue
Block a user