{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreighdph5qsc6vhxsxf525m2yrcrpmeo7yhygj7eu3z7vehn37gs62a",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mncroglfq3b2"
},
"path": "/t/parser-error-recovery-in-syn-for-better-ide-support-with-proc-macros/24362#post_18",
"publishedAt": "2026-06-02T13:41:22.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "What would break if `syn` were to produce warnings in most cases (using the `Diagnostic` interface) and output potentially partial parsed code to the macro, leaving it up to the proc_macro to either error if the data it needs is not available, or work on the partial output if everything it needs is there?",
"title": "Parser error recovery in `syn` for better IDE support with proc-macros"
}