)]}'
{
  "commit": "ceede0ba9c7dc2b2fb2fa68dc7b2b8b08e4372cf",
  "tree": "ba3c1513bc57f0d544a1bcaa709ddba2c837877e",
  "parents": [
    "b945d684dc870d6cf0bbf058358c9f30e163f830"
  ],
  "author": {
    "name": "León Orell Valerian Liehr",
    "email": "me@fmease.dev",
    "time": "Sun Sep 06 22:13:38 2026 +0200"
  },
  "committer": {
    "name": "León Orell Valerian Liehr",
    "email": "me@fmease.dev",
    "time": "Fri Sep 18 16:26:21 2026 +0200"
  },
  "message": "Remove odd special case of some parse error recovery functions\n\n`recover_from_inc_dec` *always* returns a (fatal) `Err(_)` *except* if\nthe increment/decrement operator is a subexpression *and* the source of\nthe operand is not available in which case it emits the diagnostic and\nreturns `Ok(_)` (rendering it non-fatal).\n\nThis makes no sense whatsoever. For illustration purposes, listed below\nare steps that would make us reach this case:\n\n1. `rustc a.rs --crate-type\u003dlib` where `a.rs` contains:\n   `#[macro_export] macro_rules! m { () \u003d\u003e { i++ } }`.\n2. Move or remove `a.rs`\n3. `rustc b.rs --edition 2018 --extern a -L.` where\n   `b.rs` contains:\n   `fn main() { (a::m!()); }`.\n\nJust make the error unconditionally fatal and add a FIXME to make it non\nfatal in the future which would allow us to report name resolution errors\nand what not. However, since that would be slightly more involved and\nrepresent a behavior change (in the error path), this is out of scope for\na mere cleanup commit like this one.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "64f24b8216edd60260b40d879e5ff8eacabde8a9",
      "old_mode": 33188,
      "old_path": "compiler/rustc_parse/src/parser/diagnostics.rs",
      "new_id": "4aef934323bb348cc44e68d2e38d23025dff81b6",
      "new_mode": 33188,
      "new_path": "compiler/rustc_parse/src/parser/diagnostics.rs"
    },
    {
      "type": "modify",
      "old_id": "952c9a3fdf240444c6c8ee0658f03da1989f7cc7",
      "old_mode": 33188,
      "old_path": "compiler/rustc_parse/src/parser/expr.rs",
      "new_id": "c179db3dbfa097beb8c56863ab5bf68eb3aba727",
      "new_mode": 33188,
      "new_path": "compiler/rustc_parse/src/parser/expr.rs"
    }
  ]
}
