diff --git a/rust/ruby-prism-sys/src/lib.rs b/rust/ruby-prism-sys/src/lib.rs index e18fced44e..8d4c979f5d 100644 --- a/rust/ruby-prism-sys/src/lib.rs +++ b/rust/ruby-prism-sys/src/lib.rs @@ -26,6 +26,7 @@ #[allow(non_upper_case_globals)] #[allow(unused_qualifications)] #[allow(clippy::missing_const_for_fn)] +#[allow(clippy::use_self)] mod bindings { // In `build.rs`, we use `bindgen` to generate bindings based on C headers // and `libprism`. Here is where we pull in those bindings and make