diff --git a/gstreamer/src/miniobject.rs b/gstreamer/src/miniobject.rs index 2e4eb731e..a69cdc6f8 100644 --- a/gstreamer/src/miniobject.rs +++ b/gstreamer/src/miniobject.rs @@ -522,6 +522,7 @@ macro_rules! mini_object_wrapper ( impl $crate::glib::types::StaticType for $ref_name { #[inline] fn static_type() -> $crate::glib::types::Type { + #[allow(clippy::macro_metavars_in_unsafe)] unsafe { $crate::glib::translate::from_glib($get_type()) } } }