)]}'
{
  "commit": "0ab14caeaf5f7ef987e047ccbbbdda59876f86de",
  "tree": "9f0ae88119a979324c30f37d86cb441114b7bb80",
  "parents": [
    "b5d46ecb51c3e4134b82570cfe718f093daa6390"
  ],
  "author": {
    "name": "Haoran Wang",
    "email": "waharaxn@gmail.com",
    "time": "Mon Jun 15 19:35:07 2026 +0800"
  },
  "committer": {
    "name": "Haoran Wang",
    "email": "waharaxn@gmail.com",
    "time": "Mon Jun 15 20:38:53 2026 +0800"
  },
  "message": "Don\u0027t suggest adding `in` to a `for` loop that already has one\n\nWhen a `for` loop is missing its `in`, the parser suggested inserting one\nbased only on the token after the pattern. A malformed binding such as\n`for i i in 0..10` was therefore \"corrected\" to `for i in i in 0..10`,\nwhich does not parse. Only suggest inserting `in` when the loop header\ndoes not already contain one before the body.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3a726cbce8182aeefa25cd9693ba340b9c9d612a",
      "old_mode": 33188,
      "old_path": "compiler/rustc_parse/src/errors.rs",
      "new_id": "0c850b69ca7f1e6265872c071ceba4c2dd4e6152",
      "new_mode": 33188,
      "new_path": "compiler/rustc_parse/src/errors.rs"
    },
    {
      "type": "modify",
      "old_id": "e414e10e8416945d168ceac60a2c04d2b1b4bea3",
      "old_mode": 33188,
      "old_path": "compiler/rustc_parse/src/parser/expr.rs",
      "new_id": "c81b3dd6ab5c08ec9e8db1cf5f73829a90275165",
      "new_mode": 33188,
      "new_path": "compiler/rustc_parse/src/parser/expr.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "142f9256658812115a51d54c828b13cf699febdf",
      "new_mode": 33188,
      "new_path": "tests/ui/suggestions/for-loop-no-spurious-in-suggestion.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "472ee7d9ddca216c5f7143088e84f8944c06f18d",
      "new_mode": 33188,
      "new_path": "tests/ui/suggestions/for-loop-no-spurious-in-suggestion.stderr"
    }
  ]
}
