Closed
Description
Here's an example of the issue: https://play.rust-lang.org/?gist=1fcdc0a76f5c4dd0f2da855e497ea298&version=stable
In that code I use #[doc=$doc]
, which is expanded to invalid syntax #[doc=concat!("Hello", "world", "!")]
before being passed to the serde Deserialize procedural macro.
This uses the same expansion as #42164