Crate rustc_macros
source · [−]Macros
Implements the
fluent_messages
macro, which performs compile-time validation of the
compiler’s Fluent resources (i.e. that the resources parse and don’t multiply define the same
messages) and generates constants that make using those messages in diagnostics more ergonomic.Creates a struct type
S
that can be used as an index with
IndexVec
and so on.