From cee13531e353859329c5edd37e8bc37fd4a309a0 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sun, 5 Feb 2023 00:59:44 +0100 Subject: [PATCH] rust: silence warnings on auto-generated FFI bindings --- fish-rust/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fish-rust/src/lib.rs b/fish-rust/src/lib.rs index c2e8fcd87..106a1bbc1 100644 --- a/fish-rust/src/lib.rs +++ b/fish-rust/src/lib.rs @@ -8,6 +8,10 @@ extern crate lazy_static; mod fd_readable_set; mod fds; +#[allow(rustdoc::broken_intra_doc_links)] +#[allow(clippy::module_inception)] +#[allow(clippy::new_ret_no_self)] +#[allow(clippy::wrong_self_convention)] mod ffi; mod ffi_init; mod ffi_tests;