diff options
Diffstat (limited to 'crates/mozart-console-macros/src')
| -rw-r--r-- | crates/mozart-console-macros/src/codegen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/mozart-console-macros/src/codegen.rs b/crates/mozart-console-macros/src/codegen.rs index 11e37f9..002f808 100644 --- a/crates/mozart-console-macros/src/codegen.rs +++ b/crates/mozart-console-macros/src/codegen.rs @@ -135,7 +135,7 @@ fn generate_single(segment: &Segment, args: &Punctuated<Expr, syn::Token![,]>) - } } Segment::Tagged { tag, content } => { - let func = quote::format_ident!("{}", tag); + let func = quote::format_ident!("__format_{}_message", tag); if has_placeholders(content) { let lit = proc_macro2::Literal::string(content); quote! { |
