mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
Allow unused imports in autogenerated code
These should not be there to begin with but they're hard to prevent.
This commit is contained in:
parent
1b00160388
commit
501934a29b
8 changed files with 7 additions and 9 deletions
|
@ -40,6 +40,7 @@ macro_rules! skip_assert_initialized {
|
||||||
#[allow(clippy::unreadable_literal)]
|
#[allow(clippy::unreadable_literal)]
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
#[allow(clippy::match_same_arms)]
|
#[allow(clippy::match_same_arms)]
|
||||||
|
#[allow(unused_imports)]
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use auto::*;
|
pub use auto::*;
|
||||||
|
|
||||||
|
|
|
@ -2,23 +2,14 @@
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
use glib::translate::*;
|
use glib::translate::*;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
use glib::value::FromValue;
|
use glib::value::FromValue;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
use glib::value::FromValueOptional;
|
use glib::value::FromValueOptional;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
use glib::value::SetValue;
|
use glib::value::SetValue;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
use glib::value::Value;
|
use glib::value::Value;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
use glib::StaticType;
|
use glib::StaticType;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
use glib::Type;
|
use glib::Type;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
use gobject_sys;
|
use gobject_sys;
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
|
||||||
use gst_base_sys;
|
use gst_base_sys;
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
#[cfg(any(feature = "v1_18", feature = "dox"))]
|
||||||
|
|
|
@ -36,6 +36,7 @@ macro_rules! skip_assert_initialized {
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
#[allow(clippy::match_same_arms)]
|
#[allow(clippy::match_same_arms)]
|
||||||
#[allow(clippy::type_complexity)]
|
#[allow(clippy::type_complexity)]
|
||||||
|
#[allow(unused_imports)]
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use auto::functions::*;
|
pub use auto::functions::*;
|
||||||
pub use auto::*;
|
pub use auto::*;
|
||||||
|
|
|
@ -63,6 +63,7 @@ macro_rules! skip_assert_initialized {
|
||||||
#[allow(clippy::unreadable_literal)]
|
#[allow(clippy::unreadable_literal)]
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
#[allow(clippy::match_same_arms)]
|
#[allow(clippy::match_same_arms)]
|
||||||
|
#[allow(unused_imports)]
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use auto::*;
|
pub use auto::*;
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ macro_rules! skip_assert_initialized {
|
||||||
#[allow(clippy::unreadable_literal)]
|
#[allow(clippy::unreadable_literal)]
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
#[allow(clippy::match_same_arms)]
|
#[allow(clippy::match_same_arms)]
|
||||||
|
#[allow(unused_imports)]
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use auto::*;
|
pub use auto::*;
|
||||||
mod net_client_clock;
|
mod net_client_clock;
|
||||||
|
|
|
@ -43,6 +43,7 @@ macro_rules! skip_assert_initialized {
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
#[allow(clippy::match_same_arms)]
|
#[allow(clippy::match_same_arms)]
|
||||||
#[allow(clippy::type_complexity)]
|
#[allow(clippy::type_complexity)]
|
||||||
|
#[allow(unused_imports)]
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use auto::functions::*;
|
pub use auto::functions::*;
|
||||||
pub use auto::*;
|
pub use auto::*;
|
||||||
|
|
|
@ -31,6 +31,7 @@ macro_rules! assert_initialized_main_thread {
|
||||||
#[allow(clippy::match_same_arms)]
|
#[allow(clippy::match_same_arms)]
|
||||||
#[allow(clippy::type_complexity)]
|
#[allow(clippy::type_complexity)]
|
||||||
#[allow(clippy::cast_ptr_alignment)]
|
#[allow(clippy::cast_ptr_alignment)]
|
||||||
|
#[allow(unused_imports)]
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use auto::*;
|
pub use auto::*;
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,7 @@ macro_rules! skip_assert_initialized {
|
||||||
#[allow(clippy::unreadable_literal)]
|
#[allow(clippy::unreadable_literal)]
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
#[allow(clippy::match_same_arms)]
|
#[allow(clippy::match_same_arms)]
|
||||||
|
#[allow(unused_imports)]
|
||||||
mod auto;
|
mod auto;
|
||||||
pub use auto::*;
|
pub use auto::*;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue