diff --git a/sourceview-sys/src/lib.rs b/sourceview-sys/src/lib.rs index 51fce1d..9d8b709 100644 --- a/sourceview-sys/src/lib.rs +++ b/sourceview-sys/src/lib.rs @@ -3,6 +3,7 @@ // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] +#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))] extern crate libc; extern crate glib_sys as glib; diff --git a/sourceview-sys/versions.txt b/sourceview-sys/versions.txt index 9d99523..4725cf3 100644 --- a/sourceview-sys/versions.txt +++ b/sourceview-sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6e42588) +Generated by gir (https://github.com/gtk-rs/gir @ 9eab494) from gir-files (https://github.com/gtk-rs/gir-files @ 47c69e6) diff --git a/src/lib.rs b/src/lib.rs index 7d6de08..6f05201 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,6 +2,9 @@ // See the COPYRIGHT file at the top-level directory of this distribution. // Licensed under the MIT license, see the LICENSE file or +#![cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ref))] +#![cfg_attr(feature = "cargo-clippy", allow(type_complexity))] + #[macro_use] extern crate glib; extern crate glib_sys as glib_ffi;