diff --git a/gstreamer/src/pad_template.rs b/gstreamer/src/pad_template.rs index d6c74cc3a..d86828119 100644 --- a/gstreamer/src/pad_template.rs +++ b/gstreamer/src/pad_template.rs @@ -101,6 +101,7 @@ impl PadTemplate { } } +#[must_use = "The builder must be built to be used"] #[derive(Debug)] pub struct PadTemplateBuilder<'a> { name_template: &'a str,