summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody P Schafer <dev@codyps.com>2021-10-16 18:29:07 -0400
committerCody P Schafer <dev@codyps.com>2021-10-16 18:29:07 -0400
commitb5215b89dc2e074354be3f3aa40d621b2e843ac4 (patch)
tree7c26da7c37ba6a541cd2e7ba57270174ee3f5497
parent9b69efb9bf5fe4ca2c9d1491e228736bab0bad84 (diff)
downloadrust-libzfs-b5215b89dc2e074354be3f3aa40d621b2e843ac4.zip
zfs-core-sys: suppress warnings from bindgen generated code
-rw-r--r--zfs-core-sys/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/zfs-core-sys/src/lib.rs b/zfs-core-sys/src/lib.rs
index 2d6a893..c50c418 100644
--- a/zfs-core-sys/src/lib.rs
+++ b/zfs-core-sys/src/lib.rs
@@ -1,6 +1,8 @@
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
+#![allow(clippy::redundant_static_lifetimes)]
+#![allow(deref_nullptr)]
extern crate nvpair_sys as nvpair;
use nvpair::*;