Almost drop-in replacement to panics in proc-macros
# Cargo.toml
[dependencies]
proc-macro-error = "1.0.4"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Emit a compile-time error from a procedural macro.
Migrate to `proc_macro::Diagnostic` if using nightly Rust.
No dependency data recorded yet.