)]}'
{
  "commit": "55b540904cece48cbdab96b4cebbe070cf3a0668",
  "tree": "87fbb016ea51646d15f1c43fd20957e10445b362",
  "parents": [
    "dce4ae938c545d083130e7e6787ca652d23441e3",
    "e3fa7086f6d17e5aff7d46ab6b668fa7e49f7f8e"
  ],
  "author": {
    "name": "llogiq",
    "email": "bogusandre@gmail.com",
    "time": "Fri Apr 24 04:36:51 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Apr 24 04:36:51 2026 +0000"
  },
  "message": "Fix wrong `question_mark` suggestion when match arm body is a destructuring assignment (#16863)\n\n* Added `\u0026\u0026 sugg.starts_with(\u0027{\u0027)` to the block-insertion branch. When\nthe snippet doesn\u0027t start with `{` (i.e., destructuring assignment), it\nfalls through to the else branch which correctly wraps the suggestion in\nan explicit block.\n* Added a new test case `issue_destructuring_assignment` in\n`tests/ui/question_mark.rs` to verify that the lint provides correct\nsuggestion for match expressions with destructuring assignments that can\nbe replaced by the `?` operator.\n\nfixes rust-lang/rust-clippy#16862\n\nchangelog: [`question_mark`]: Fix wrong suggestion when match arm body\nis a destructuring assignment\n",
  "tree_diff": []
}
