diff --git a/packages/perseus/src/translator/dummy.rs b/packages/perseus/src/translator/dummy.rs index 38c762fb29..97dcdb4709 100644 --- a/packages/perseus/src/translator/dummy.rs +++ b/packages/perseus/src/translator/dummy.rs @@ -39,6 +39,7 @@ impl DummyTranslator { /// A useless pseudo-map. This is a workaround until conditional compilation of expressions is supported, which will simplify this /// system significantly. #[doc(hidden)] +#[derive(Debug)] pub struct TranslationArgs; impl TranslationArgs { /// Creates a new instance of this `struct`. diff --git a/packages/perseus/src/translator/fluent.rs b/packages/perseus/src/translator/fluent.rs index cf6514359f..b2c4da6f67 100644 --- a/packages/perseus/src/translator/fluent.rs +++ b/packages/perseus/src/translator/fluent.rs @@ -174,6 +174,7 @@ impl FluentTranslator { /// An alias for `FluentArgs`. This is a workaround until conditional compilation of expressions is supported, which will simplify this /// system significantly. #[doc(hidden)] +#[allow(missing_debug_implementations)] pub type TranslationArgs<'args> = FluentArgs<'args>; /// The internal Fluent backend for the `t!` macro.