]> git.proxmox.com Git - cargo.git/commitdiff
Exempt a type from the derive_hash_xor_eq linter
authorDale Wijnand <dale.wijnand@gmail.com>
Sun, 22 Jul 2018 15:47:05 +0000 (16:47 +0100)
committerDale Wijnand <dale.wijnand@gmail.com>
Sun, 22 Jul 2018 16:08:59 +0000 (17:08 +0100)
src/cargo/core/manifest.rs

index b68e2d5b62997f005d9803471c5b7d903bb12967..9d05d91f1f104ec53c09aa08e7ce08f9040293ca 100644 (file)
@@ -206,6 +206,7 @@ struct NonHashedPathBuf {
     path: PathBuf,
 }
 
+#[cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))] // current intentional incoherence
 impl Hash for NonHashedPathBuf {
     fn hash<H: Hasher>(&self, _: &mut H) {
         // ...