Skip to content

Commit 0ead24f

Browse files
authored
Merge pull request #4218 from tgross35/backport-allow-fn-comparison
[0.2] Allow `unpredictable_function_pointer_comparisons` in another place
2 parents 3a5f075 + a72002a commit 0ead24f

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)