You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnmain(){move |_| {drop_macro_semi!{"something_very_long_something_very_long_something_very_long_something_very_long"}// <--- no semicolon herelet _ = drop_macro_semi!{"something_very_long_something_very_long_something_very_long_something_very_long"};drop_macro_semi!{"something_very_long_something_very_long_something_very_long_something_very_long"}};}
Dropping the semicolon on the first macro leads to semantically different code and thus compile errors.
This is likely because we're dropping the semicolon explicitly depending on the delimiter which just seems wrong to me - can't a macro have any delimiter without its semantic meaning changing?
This input:
Returns
Dropping the semicolon on the first macro leads to semantically different code and thus compile errors.
This is likely because we're dropping the semicolon explicitly depending on the delimiter which just seems wrong to me - can't a macro have any delimiter without its semantic meaning changing?
https://github.com/dtolnay/prettyplease/blob/master/src/mac.rs#L46C17-L46C31
The text was updated successfully, but these errors were encountered: