Open
Description
In this reddit comment Perceptes mentioned one idea to cut down down on some of the syntex boilerplate would be to use the #[path = ...]
attribute to point to one of the generated files, as in this:
#[path = concat!(env!("OUT_DIR"), "/generated_foo.rs")]
mod foo;
Unfortunately this is currently illegal, because macros cannot be used in the position of a literal. It would be nice if we supported this functionality.