diff options
Diffstat (limited to 'compiler/rustc_session/src/search_paths.rs')
| -rw-r--r-- | compiler/rustc_session/src/search_paths.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_session/src/search_paths.rs b/compiler/rustc_session/src/search_paths.rs index b6bde28233d..56a6b6f3b03 100644 --- a/compiler/rustc_session/src/search_paths.rs +++ b/compiler/rustc_session/src/search_paths.rs @@ -26,7 +26,7 @@ pub struct SearchPathFile { pub file_name_str: String, } -#[derive(PartialEq, Clone, Copy, Debug, Hash, Eq, Encodable, Decodable)] +#[derive(PartialEq, Clone, Copy, Debug, Hash, Eq, Encodable, Decodable, HashStable_Generic)] pub enum PathKind { Native, Crate, @@ -36,8 +36,6 @@ pub enum PathKind { All, } -rustc_data_structures::impl_stable_hash_via_hash!(PathKind); - impl PathKind { pub fn matches(&self, kind: PathKind) -> bool { match (self, kind) { |
