From e52e4328b3e7467b4d51366b419ef1b685c8ae1f Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Thu, 29 Apr 2021 22:06:11 +0200 Subject: [PATCH] Allow clippy::use_self on auto module --- gstreamer-app/src/lib.rs | 1 + gstreamer-audio/src/lib.rs | 1 + gstreamer-base/src/lib.rs | 1 + gstreamer-check/src/lib.rs | 1 + gstreamer-controller/src/lib.rs | 1 + gstreamer-editing-services/src/lib.rs | 1 + gstreamer-gl/egl/src/lib.rs | 1 + gstreamer-gl/src/lib.rs | 1 + gstreamer-gl/wayland/src/lib.rs | 1 + gstreamer-gl/x11/src/lib.rs | 1 + gstreamer-net/src/lib.rs | 1 + gstreamer-pbutils/src/lib.rs | 1 + gstreamer-player/src/lib.rs | 1 + gstreamer-rtp/src/lib.rs | 1 + gstreamer-rtsp-server/src/lib.rs | 1 + gstreamer-rtsp/src/lib.rs | 1 + gstreamer-sdp/src/lib.rs | 1 + gstreamer-video/src/lib.rs | 1 + gstreamer-webrtc/src/lib.rs | 1 + gstreamer/src/lib.rs | 1 + 20 files changed, 20 insertions(+) diff --git a/gstreamer-app/src/lib.rs b/gstreamer-app/src/lib.rs index 541b05746..d577f274b 100644 --- a/gstreamer-app/src/lib.rs +++ b/gstreamer-app/src/lib.rs @@ -14,6 +14,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::unreadable_literal)] #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-audio/src/lib.rs b/gstreamer-audio/src/lib.rs index b820f19e3..a73a9ba9c 100644 --- a/gstreamer-audio/src/lib.rs +++ b/gstreamer-audio/src/lib.rs @@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::unreadable_literal)] #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-base/src/lib.rs b/gstreamer-base/src/lib.rs index 4d6ac0c0e..ad0d195e1 100644 --- a/gstreamer-base/src/lib.rs +++ b/gstreamer-base/src/lib.rs @@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] #[allow(clippy::type_complexity)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::functions::*; pub use crate::auto::*; diff --git a/gstreamer-check/src/lib.rs b/gstreamer-check/src/lib.rs index 6683607cc..60b937d08 100644 --- a/gstreamer-check/src/lib.rs +++ b/gstreamer-check/src/lib.rs @@ -18,6 +18,7 @@ macro_rules! assert_initialized_main_thread { #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] #[allow(clippy::type_complexity)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-controller/src/lib.rs b/gstreamer-controller/src/lib.rs index c476d4cde..7819b83a3 100644 --- a/gstreamer-controller/src/lib.rs +++ b/gstreamer-controller/src/lib.rs @@ -21,6 +21,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::unreadable_literal)] #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] +#[allow(clippy::use_self)] mod auto; mod control_point; pub use crate::auto::*; diff --git a/gstreamer-editing-services/src/lib.rs b/gstreamer-editing-services/src/lib.rs index 8a5129409..212fc0f71 100644 --- a/gstreamer-editing-services/src/lib.rs +++ b/gstreamer-editing-services/src/lib.rs @@ -51,6 +51,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::unreadable_literal)] #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-gl/egl/src/lib.rs b/gstreamer-gl/egl/src/lib.rs index 51beac6b2..e381264eb 100644 --- a/gstreamer-gl/egl/src/lib.rs +++ b/gstreamer-gl/egl/src/lib.rs @@ -18,6 +18,7 @@ macro_rules! assert_initialized_main_thread { }; } +#[allow(clippy::use_self)] mod auto; pub use auto::*; diff --git a/gstreamer-gl/src/lib.rs b/gstreamer-gl/src/lib.rs index 6452e3849..8e093f7ba 100644 --- a/gstreamer-gl/src/lib.rs +++ b/gstreamer-gl/src/lib.rs @@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::unreadable_literal)] #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-gl/wayland/src/lib.rs b/gstreamer-gl/wayland/src/lib.rs index 5b1a03452..26d9b180d 100644 --- a/gstreamer-gl/wayland/src/lib.rs +++ b/gstreamer-gl/wayland/src/lib.rs @@ -18,6 +18,7 @@ macro_rules! assert_initialized_main_thread { }; } +#[allow(clippy::use_self)] mod auto; pub use auto::*; diff --git a/gstreamer-gl/x11/src/lib.rs b/gstreamer-gl/x11/src/lib.rs index 9670f7e07..6667d3d28 100644 --- a/gstreamer-gl/x11/src/lib.rs +++ b/gstreamer-gl/x11/src/lib.rs @@ -18,6 +18,7 @@ macro_rules! assert_initialized_main_thread { }; } +#[allow(clippy::use_self)] mod auto; pub use auto::*; diff --git a/gstreamer-net/src/lib.rs b/gstreamer-net/src/lib.rs index 92148c9b9..a411de0a2 100644 --- a/gstreamer-net/src/lib.rs +++ b/gstreamer-net/src/lib.rs @@ -21,6 +21,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::unreadable_literal)] #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; mod net_client_clock; diff --git a/gstreamer-pbutils/src/lib.rs b/gstreamer-pbutils/src/lib.rs index 43550014a..0aed314c6 100644 --- a/gstreamer-pbutils/src/lib.rs +++ b/gstreamer-pbutils/src/lib.rs @@ -29,6 +29,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] #[allow(clippy::type_complexity)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::functions::*; pub use crate::auto::*; diff --git a/gstreamer-player/src/lib.rs b/gstreamer-player/src/lib.rs index da25898ec..403612185 100644 --- a/gstreamer-player/src/lib.rs +++ b/gstreamer-player/src/lib.rs @@ -19,6 +19,7 @@ macro_rules! assert_initialized_main_thread { #[allow(clippy::match_same_arms)] #[allow(clippy::type_complexity)] #[allow(clippy::cast_ptr_alignment)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-rtp/src/lib.rs b/gstreamer-rtp/src/lib.rs index f77b3039c..851f277ee 100644 --- a/gstreamer-rtp/src/lib.rs +++ b/gstreamer-rtp/src/lib.rs @@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] #[allow(non_snake_case)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-rtsp-server/src/lib.rs b/gstreamer-rtsp-server/src/lib.rs index 5527db511..eea7ec8f6 100644 --- a/gstreamer-rtsp-server/src/lib.rs +++ b/gstreamer-rtsp-server/src/lib.rs @@ -27,6 +27,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::match_same_arms)] #[allow(clippy::type_complexity)] #[allow(clippy::let_and_return)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-rtsp/src/lib.rs b/gstreamer-rtsp/src/lib.rs index be299c537..d3f0b9107 100644 --- a/gstreamer-rtsp/src/lib.rs +++ b/gstreamer-rtsp/src/lib.rs @@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::unreadable_literal)] #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-sdp/src/lib.rs b/gstreamer-sdp/src/lib.rs index 2cfacb04d..c35612b22 100644 --- a/gstreamer-sdp/src/lib.rs +++ b/gstreamer-sdp/src/lib.rs @@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] #[allow(non_snake_case)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-video/src/lib.rs b/gstreamer-video/src/lib.rs index 8849d9fd6..a221a0521 100644 --- a/gstreamer-video/src/lib.rs +++ b/gstreamer-video/src/lib.rs @@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::unreadable_literal)] #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-webrtc/src/lib.rs b/gstreamer-webrtc/src/lib.rs index 4ee10c210..97535e6e5 100644 --- a/gstreamer-webrtc/src/lib.rs +++ b/gstreamer-webrtc/src/lib.rs @@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::unreadable_literal)] #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer/src/lib.rs b/gstreamer/src/lib.rs index a18e90ffc..69bc55bc8 100644 --- a/gstreamer/src/lib.rs +++ b/gstreamer/src/lib.rs @@ -26,6 +26,7 @@ macro_rules! skip_assert_initialized { #[allow(clippy::too_many_arguments)] #[allow(clippy::match_same_arms)] #[allow(clippy::type_complexity)] +#[allow(clippy::use_self)] mod auto; pub use crate::auto::functions::*; pub use crate::auto::*;