External Publication
Visit Post

Parser error recovery in `syn` for better IDE support with proc-macros

Rust Internals [Unofficial] June 2, 2026
Source

Tamschi:

It would potentially be very noisy since Diagnostic doesn't support error priorities, as far as I can tell.

See proc_macro2_diagnostic - Rust for an example of how compiler warnings can be emitted and processing can then continue.

Discussion in the ATmosphere

Loading comments...