proc_macro2/quote toolkit does not allow to generate regular comments (since they are not part of the token tree for procedural macros). However, since we are generating regular source code, it could be useful to generate just a plain comment.
Need to figure out a way to do that.
One option would be to use some fake token sequence (like: "\<long identifier> \<string literal>" and replace it with the comment. Library would then provide a struct Comment that will render into these two tokens.
proc_macro2/quote toolkit does not allow to generate regular comments (since they are not part of the token tree for procedural macros). However, since we are generating regular source code, it could be useful to generate just a plain comment.
Need to figure out a way to do that.
One option would be to use some fake token sequence (like: "\<long identifier> \<string literal>" and replace it with the comment. Library would then provide a struct
Comment
that will render into these two tokens.