]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_session/src/search_paths.rs
Rollup merge of #98806 - GuillaumeGomez:decl-trailing-whitespace, r=notriddle
[rust.git] / compiler / rustc_session / src / search_paths.rs
index b6bde28233d243bc2ad86c0e5619111f3bc1d6d7..56a6b6f3b03efe6d18c98fd80ad69e1fa6c5af2c 100644 (file)
@@ -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) {