{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreiaotys4coq3jcsgudyhnrzfhyhe36npfz6egmfeefopcz7vs7sm6e",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mn4mraaenob2"
  },
  "path": "/t/parser-error-recovery-in-syn-for-better-ide-support-with-proc-macros/24362#post_3",
  "publishedAt": "2026-05-31T02:31:56.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "FWIW, what you _should_ do when `syn` fails to parse is to return the original code unchanged. This is better for both IDEs and the compiler, although it's not a common practice unfortunately.",
  "title": "Parser error recovery in `syn` for better IDE support with proc-macros"
}