{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreig4yircqwaieqpgibolcovmdvuzasmtp2fcjyqpesianig5ogofva",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mnh6gp2yywy2"
  },
  "path": "/t/parser-error-recovery-in-syn-for-better-ide-support-with-proc-macros/24362?page=2#post_22",
  "publishedAt": "2026-06-04T06:12:47.000Z",
  "site": "https://internals.rust-lang.org",
  "tags": [
    "hacking.md"
  ],
  "textContent": "Tamschi:\n\n> **Edit:** I missed that the `Warning` variant emits when `Try`d. Hm, not a huge fan of subtle side effects like that, to be honest, but that's personal preference.\n\n\"not a huge fan\" is nice understatement  Personally, I am violently opposed to that kind of thing.\n\n> As I put it in a hacking.md looking at try:\n>\n> _global state is inherently evil, hidden side-effects are inherently evil and usually rely on global state_\n\nBut I did it anyway as I felt this was one of those rare cases where the ergonomic benefit vs the next best option made it viable. (My todolist has an entry to do the same again with tracing/logging depending on experience with diagnostics)",
  "title": "Parser error recovery in `syn` for better IDE support with proc-macros"
}