diff --git a/src/fuchsia/mod.rs b/src/fuchsia/mod.rs index 01ccd21ecc15..7bd8078e43a9 100644 --- a/src/fuchsia/mod.rs +++ b/src/fuchsia/mod.rs @@ -1340,6 +1340,8 @@ cfg_if! { } } + // FIXME(msrv): suggested method was added in 1.85 + #[allow(unpredictable_function_pointer_comparisons)] impl PartialEq for sigevent { fn eq(&self, other: &sigevent) -> bool { self.sigev_value == other.sigev_value diff --git a/src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs b/src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs index b3ed7684154a..a73766a65c7d 100644 --- a/src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs @@ -238,6 +238,8 @@ cfg_if! { } } + // FIXME(msrv): suggested method was added in 1.85 + #[allow(unpredictable_function_pointer_comparisons)] impl PartialEq for __c_anonymous_elf64_auxv_union { fn eq(&self, other: &__c_anonymous_elf64_auxv_union) -> bool { unsafe {