)]}'
{
  "commit": "6866a94d49fbcf0de2baef4b21bdeabb88784ceb",
  "tree": "a5dd73da95e903c0e2dc1cc0a35b70d162b3b1bf",
  "parents": [
    "225e91c03da22cd4b9792b83c1cfc97967101614"
  ],
  "author": {
    "name": "Esteban Küber",
    "email": "esteban@kuber.com.ar",
    "time": "Mon Jul 13 22:58:56 2026 +0000"
  },
  "committer": {
    "name": "Esteban Küber",
    "email": "esteban@kuber.com.ar",
    "time": "Mon Jul 13 22:58:56 2026 +0000"
  },
  "message": "Account for async closures when pointing at lifetime in return type\n\n```\nerror: lifetime may not live long enough\n  --\u003e $DIR/higher-ranked-return.rs:11:46\n   |\nLL |           let x \u003d async move |x: \u0026str| -\u003e \u0026str {\n   |  ________________________________-________-____^\n   | |                                |        |\n   | |                                |        let\u0027s call the lifetime of this reference `\u00272`\n   | |                                let\u0027s call the lifetime of this reference `\u00271`\nLL | |             x\nLL | |         };\n   | |_________^ returning this value requires that `\u00271` must outlive `\u00272`\n```\n\ninstead of\n\n```\nerror: lifetime may not live long enough\n  --\u003e $DIR/higher-ranked-return.rs:11:46\n   |\nLL |           let x \u003d async move |x: \u0026str| -\u003e \u0026str {\n   |  ________________________________-________----_^\n   | |                                |        |\n   | |                                |        return type of async closure `{async closure body@$DIR/higher-ranked-return.rs:11:46: 13:10}` contains a lifetime `\u00272`\n   | |                                let\u0027s call the lifetime of this reference `\u00271`\nLL | |             x\nLL | |         };\n   | |_________^ returning this value requires that `\u00271` must outlive `\u00272`\n```\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b8037fc83aad0b3b1b5f81392544a698970bea7b",
      "old_mode": 33188,
      "old_path": "compiler/rustc_borrowck/src/diagnostics/region_name.rs",
      "new_id": "0e07de31c2baa8e096503cc1bfbd44f12d1194a8",
      "new_mode": 33188,
      "new_path": "compiler/rustc_borrowck/src/diagnostics/region_name.rs"
    },
    {
      "type": "modify",
      "old_id": "23ce3df66165425dc18372224d90570b13c775fe",
      "old_mode": 33188,
      "old_path": "tests/ui/async-await/async-closures/higher-ranked-return.stderr",
      "new_id": "efd5698e9731f1b75f8894f78fa2bfe4185f4ecd",
      "new_mode": 33188,
      "new_path": "tests/ui/async-await/async-closures/higher-ranked-return.stderr"
    },
    {
      "type": "modify",
      "old_id": "fb941502d3646ee2b97f3954a3f08fe3f40bbc16",
      "old_mode": 33188,
      "old_path": "tests/ui/async-await/async-closures/not-lending.stderr",
      "new_id": "989b9ccb88a765370eac209f026bbf2294be2101",
      "new_mode": 33188,
      "new_path": "tests/ui/async-await/async-closures/not-lending.stderr"
    },
    {
      "type": "modify",
      "old_id": "c479adfa56d7e61ebab5fc5c442888917329d8c5",
      "old_mode": 33188,
      "old_path": "tests/ui/async-await/issue-74072-lifetime-name-annotations.stderr",
      "new_id": "3cf2d20f155fdbb9ea7ff66de760beae017ed0cb",
      "new_mode": 33188,
      "new_path": "tests/ui/async-await/issue-74072-lifetime-name-annotations.stderr"
    }
  ]
}
