)]}'
{
  "commit": "00a552fa8af1aeede7cb792f9e68ab0a9b1c1c7f",
  "tree": "d90f4076e74227d85f3e93dc11630376ee0192d1",
  "parents": [
    "a04c7a037d59b6dedc9f921e84e391f13a257aa4"
  ],
  "author": {
    "name": "im-lunex",
    "email": "thisissamir04@gmail.com",
    "time": "Thu Aug 13 13:41:55 2026 +0000"
  },
  "committer": {
    "name": "im-lunex",
    "email": "thisissamir04@gmail.com",
    "time": "Thu Aug 13 13:41:55 2026 +0000"
  },
  "message": "check `mut`-restriction when tuple constructor is used as a value\n\n* check mut restriction when tuple ctor is used as a value\n* add missing stderr file for mut-restriction ctor value test\n* simplify def_kind matching in tuple ctor mut restriction check\n\nMatch the DefKind::Ctor directly on the result of tcx.def_kind instead of binding it to a local first. Extend the ctor-value ui test with additional enum variants covering plain and crate-restricted fields.\n* test: exercise new ctor variants\n* address review: drop shell.nix, add tests\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9d6809ea837cf40cce76b7e6b64b8466901bbca4",
      "old_mode": 33188,
      "old_path": "compiler/rustc_mir_transform/src/check_mut_restriction.rs",
      "new_id": "96f367952bd2b865e240ce4173f4a569a7fda079",
      "new_mode": 33188,
      "new_path": "compiler/rustc_mir_transform/src/check_mut_restriction.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7ca33ff4bdd2258305f16c85f3ba5a08e0c67ee2",
      "new_mode": 33188,
      "new_path": "tests/ui/mut-restriction/mut-restriction-ctor-value.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b10a3c15592c3fba53c2aa6424548897c3a72724",
      "new_mode": 33188,
      "new_path": "tests/ui/mut-restriction/mut-restriction-ctor-value.stderr"
    }
  ]
}
