mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-04-16 04:44:06 +00:00
Allow unused imports in auto-generated code
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1646>
This commit is contained in:
parent
b80a002d18
commit
d4ad05dc7d
19 changed files with 19 additions and 0 deletions
|
@ -13,6 +13,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ macro_rules! skip_assert_initialized {
|
|||
}
|
||||
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
mod control_point;
|
||||
pub use crate::auto::*;
|
||||
|
|
|
@ -21,6 +21,7 @@ macro_rules! assert_initialized_main_thread {
|
|||
};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use auto::*;
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ macro_rules! assert_initialized_main_thread {
|
|||
};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use auto::*;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ macro_rules! assert_initialized_main_thread {
|
|||
};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use auto::*;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::{auto::*, net_address_meta::*};
|
||||
mod net_address_meta;
|
||||
|
|
|
@ -29,6 +29,7 @@ macro_rules! skip_assert_initialized {
|
|||
}
|
||||
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ macro_rules! assert_initialized_main_thread {
|
|||
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub(crate) use crate::auto::PlayMessage as PlayMessageType;
|
||||
pub use crate::auto::*;
|
||||
|
|
|
@ -21,6 +21,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ macro_rules! skip_assert_initialized {
|
|||
}
|
||||
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
|
||||
mod sdp_attribute;
|
||||
|
|
|
@ -38,6 +38,7 @@ macro_rules! skip_assert_initialized {
|
|||
}
|
||||
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ macro_rules! skip_assert_initialized {
|
|||
}
|
||||
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ macro_rules! skip_assert_initialized {
|
|||
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(clippy::let_unit_value)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
Loading…
Reference in a new issue