Open l-monninger opened 9 months ago
If you provide an @input struct Use(...), this token will be rewritten by the macro such that the Rust compiler reinterprets it as an invalid syntax for the use keyword.
@input
struct Use(...)
use
use crepe::crepe; crepe! { @input struct Use(i32, i32); @input struct Next(i32, i32); }
Summary
If you provide an
@input
struct Use(...)
, this token will be rewritten by the macro such that the Rust compiler reinterprets it as an invalid syntax for theuse
keyword.Reproducible Example