Skip to content

Commit a72002a

Browse files
committed
Allow unpredictable_function_pointer_comparisons in another place
Nightly must have just recently updated how this gets checked, we are getting new errors in CI. Allow the lint in another place. (backport <#4217>) (cherry picked from commit 1de1c0a)
1 parent 3a5f075 commit a72002a

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/freebsdlike/dragonfly

1 file changed

+2
-0
lines changed

src/unix/bsd/freebsdlike/dragonfly/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,8 @@ cfg_if! {
865865
self.mc_fpregs.hash(state);
866866
}
867867
}
868+
// FIXME(msrv): suggested method was added in 1.85
869+
#[allow(unpredictable_function_pointer_comparisons)]
868870
impl PartialEq for ucontext_t {
869871
fn eq(&self, other: &ucontext_t) -> bool {
870872
self.uc_sigmask == other.uc_sigmask

0 commit comments

Comments
 (0)