Explain special treatment for Dollar rule

This commit is contained in:
David Tolnay 2019-06-26 23:54:19 -07:00
parent 5d00016dfb
commit 1523cd7c1a
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -819,6 +819,7 @@ macro_rules! export_token_macro {
#[cfg(syn_can_match_trailing_dollar)]
export_token_macro![($)];
// Old rustc does not support ($) => {...} as a macro rule.
#[cfg(not(syn_can_match_trailing_dollar))]
export_token_macro![];