mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Add a useful comment.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user