This release fixes a subtle issue in the following context:
macro_rules! impl_in_macro {
($name:ident) => {
#[derive(SyntaxFmt)]
struct $name(i32);
};
}
impl_in_macro!(InMacro);Which would give error error[E0424]: expected value, found module self on the derive(SyntaxFmt).
The issue was that I was incorrectly using quote_spanned. It only showed its face when wrapped in macros where the hygeine context is different than regular usage.
What's Changed
- Fixed hygeine context error
- Minor doc updates
- Bump version number