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
I don't have this problem usually, like with, for example, #[doc = stringify($name)]. It seems like the only way around this for me is to have another argument to my macro, which is exactly the same as $name but is a string literal, which is obviously not very clean.
The text was updated successfully, but these errors were encountered:
I'm creating a simple macro for convenience where I wrote the following:
However, I receive the following error:
I don't have this problem usually, like with, for example,
#[doc = stringify($name)]
. It seems like the only way around this for me is to have another argument to my macro, which is exactly the same as$name
but is a string literal, which is obviously not very clean.The text was updated successfully, but these errors were encountered: