-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong tokenization of doc comments in proc_macro #49655
Comments
One interesting consequence of something like this (which makes sense in retrospect) is that I think In any case I've added a fix for this to #49597 |
Yes, in fact I thought is_sugared_doc was already useless -- dtolnay/syn#389. We can remove it. |
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: