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
One interesting consequence of something like this (which makes sense in retrospect) is that I think syn can no longer have an is_sugared_doc_comment field, right? In that syn can't actually differentiate based on the token stream between literal comments like /// and those with #[doc]. I don't think that's too much of an issue though?
In #49545 I believe we want
/// doc
to become doc =" doc"
, not"/// doc"
.You can see this handled correctly by macro_rules:
The incorrect behavior in proc_macro:
@alexcrichton
The text was updated successfully, but these errors were encountered: