-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
#[doc]
does not concat if a macro produces a literal string
#99
Comments
macro_rules! create_string {
() => {
"example"
};
}
macro_rules! example {
() => {
#[doc = concat!(create_string!(), "a")]
fn example(){}
}
}
|
I'm incredibly new to macros so I don't know if this is even possible to address.
If a macro that produces a string literal is used in
#[doc]
,paste
does not concat.The text was updated successfully, but these errors were encountered: