Skip to main content

msg

Macro msg 

Source
msg!() { /* proc-macro */ }
Expand description

This macro creates a translatable DiagMessage from a fluent format string. It should be used in places where a translatable message is needed, but struct diagnostics are undesired.

This macro statically checks that the message is valid Fluent, but not that variables in the Fluent message actually exist.