- Published on
Article · Through the layers
Why Procedural Macro Errors Point at the Wrong Code
A span comparison harness showing why generated Rust errors point at the macro invocation, how to preserve input spans, and how to test diagnostics with compile-fail fixtures.