diff --git a/loader/curve25519-dalek-loader/src/traits.rs b/loader/curve25519-dalek-loader/src/traits.rs index d127b3ed2..625c4b97b 100644 --- a/loader/curve25519-dalek-loader/src/traits.rs +++ b/loader/curve25519-dalek-loader/src/traits.rs @@ -388,6 +388,7 @@ pub trait VartimePrecomputedMultiscalarMul: Sized { /// This trait is only for debugging/testing, since it should be /// impossible for a `curve25519-dalek` user to construct an invalid /// point. +#[allow(dead_code)] pub(crate) trait ValidityCheck { /// Checks whether the point is on the curve. Not CT. fn is_valid(&self) -> bool;