Add a useful comment.

This commit is contained in:
Nicholas Nethercote 2023-11-22 12:48:18 +11:00
parent a733082be9
commit 1a4219da43

View File

@ -61,6 +61,10 @@
/// );
/// err.emit();
/// ```
///
/// Note: any crate using this macro must also have a dependency on
/// `rustc_errors`, because the generated code refers to things from that
/// crate.
#[proc_macro]
pub fn fluent_messages(input: TokenStream) -> TokenStream {
fluent::fluent_messages(input)