Macro stringify!() result into $attr:meta


#1

Is there a way a comose meta items in a macro?
Mainly I wanted to do something like #[doc(stringify!($($bla)*))] which does not work and I have not yet found any workaround for it…

Would be awesome if there would be a way to combine some tokens/items into a meta item, but guess there is currently no
way (on stable/beta, ignoring procedual macros/compiler plugins)


#2

IIRC you currently cannot call macros in attributes.

See https://github.com/rust-lang/rust/issues/18849