)]}'
{
  "commit": "3c7ee983eb53bd286173ffe46f0c4db07e88f4fe",
  "tree": "4bea6b1e62950ebd105ea70d2cb66ebe05a4f6f5",
  "parents": [
    "1e4b45367097b94e43f3111166bb2602019d8a6a"
  ],
  "author": {
    "name": "Nicholas Nethercote",
    "email": "n.nethercote@gmail.com",
    "time": "Thu Mar 19 10:26:16 2026 +1100"
  },
  "committer": {
    "name": "Nicholas Nethercote",
    "email": "n.nethercote@gmail.com",
    "time": "Tue Mar 24 08:54:10 2026 +1100"
  },
  "message": "Compute `DepNode` for incremental queries.\n\nPrior to #154122 it wasn\u0027t used on all paths, so we only computed it\nwhen necessary -- sometimes in `check_if_ensure_can_skip_execution`,\nsometimes in one of two places in `execute_job_incr` -- and pass around\n`Option\u003cDepNode\u003e` to allow this.\n\nBut now it\u0027s always used, so this commit makes us compute it earlier,\nwhich simplifies things.\n- `check_if_ensure_can_skip_execution` can be made simpler, returning a\n  bool and eliminating the need for `EnsureCanSkip`.\n- `execute_job_incr` no longer uses two slightly different methods to\n  create a `DepNode` (`get_or_insert_with` vs `unwrap_or_else`).\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "783ae617b75b32e8773e9380146bf698758d4a4e",
      "old_mode": 33188,
      "old_path": "compiler/rustc_query_impl/src/execution.rs",
      "new_id": "42d5a78d24c405e7b342d2103476de1352d7f9ae",
      "new_mode": 33188,
      "new_path": "compiler/rustc_query_impl/src/execution.rs"
    }
  ]
}
