//! For all the gory details, see the provider of the `dependency_formats`
//! query.
-use crate::session::config;
+use rustc_session::config;
/// A list of dependencies for a certain crate type.
///
/// This is local to the tcx, and is generally relevant to one session.
pub type Dependencies = Vec<(config::CrateType, DependencyList)>;
-#[derive(Copy, Clone, PartialEq, Debug, HashStable)]
+#[derive(Copy, Clone, PartialEq, Debug, HashStable, RustcEncodable, RustcDecodable)]
pub enum Linkage {
NotLinked,
IncludedFromDylib,