Allow dead_code instead of disabling clippy entirely for bindgen
This commit is contained in:
parent
baede6c0af
commit
796afe1637
|
|
@ -16,9 +16,11 @@ use std::convert::TryInto;
|
|||
use std::ffi::c_void;
|
||||
use std::os::raw::{c_char, c_int, c_uint, c_ulong};
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[allow(clippy::all)]
|
||||
#[rustfmt::skip]
|
||||
#[allow(
|
||||
clippy::useless_transmute,
|
||||
clippy::derive_partial_eq_without_eq,
|
||||
dead_code
|
||||
)]
|
||||
mod generated {
|
||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue