Add a useful comment.
This commit is contained in:
parent
a733082be9
commit
1a4219da43
1 changed files with 4 additions and 0 deletions
|
@ -61,6 +61,10 @@ mod fluent;
|
||||||
/// );
|
/// );
|
||||||
/// err.emit();
|
/// 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]
|
#[proc_macro]
|
||||||
pub fn fluent_messages(input: TokenStream) -> TokenStream {
|
pub fn fluent_messages(input: TokenStream) -> TokenStream {
|
||||||
fluent::fluent_messages(input)
|
fluent::fluent_messages(input)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue