Skip to content

Commit 4869273

Browse files
authored
Merge pull request #4217 from tgross35/allow-fn-comparison
Allow `unpredictable_function_pointer_comparisons` in another place
2 parents 1867bf3 + 1de1c0a commit 4869273

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
@@ -864,6 +864,8 @@ cfg_if! {
864864
self.mc_fpregs.hash(state);
865865
}
866866
}
867+
// FIXME(msrv): suggested method was added in 1.85
868+
#[allow(unpredictable_function_pointer_comparisons)]
867869
impl PartialEq for ucontext_t {
868870
fn eq(&self, other: &ucontext_t) -> bool {
869871
self.uc_sigmask == other.uc_sigmask

0 commit comments

Comments
 (0)