Skip to content

Commit 1a4219d

Browse files
committed
Add a useful comment.
1 parent a733082 commit 1a4219d

File tree

1 file changed

+4
-0
lines changed
  • compiler/rustc_fluent_macro/src

1 file changed

+4
-0
lines changed

compiler/rustc_fluent_macro/src/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ mod fluent;
6161
/// );
6262
/// err.emit();
6363
/// ```
64+
///
65+
/// Note: any crate using this macro must also have a dependency on
66+
/// `rustc_errors`, because the generated code refers to things from that
67+
/// crate.
6468
#[proc_macro]
6569
pub fn fluent_messages(input: TokenStream) -> TokenStream {
6670
fluent::fluent_messages(input)

0 commit comments

Comments
 (0)