diff --git a/wayland-sys/src/server.rs b/wayland-sys/src/server.rs index b11e8ed7060..0acee4f8873 100644 --- a/wayland-sys/src/server.rs +++ b/wayland-sys/src/server.rs @@ -251,6 +251,9 @@ pub mod signal { // Safety: the signal pointer is valid unsafe { list_for_each!(l, &mut (*signal).listener_list as *mut wl_list, wl_listener, link, { + // nightly only lint + #[allow(unknown_lints)] + #[allow(unpredictable_function_pointer_comparisons)] if (*l).notify == notify { return l; }