)]}'
{
  "commit": "dbc2193d37837487a2b1a247c381d1645e85ffbe",
  "tree": "8c235b2313176623829802dab70acb1d551a6e58",
  "parents": [
    "9e387455324df090d871243e81f00d6b6c081a7c",
    "52b19f7dda198e0e9df00efabd02cb2937d4fc85"
  ],
  "author": {
    "name": "Stuart Cook",
    "email": "Zalathar@users.noreply.github.com",
    "time": "Wed Feb 18 17:29:43 2026 +1100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Feb 18 17:29:43 2026 +1100"
  },
  "message": "Rollup merge of #152729 - Enselic:single_use_consts-not-required, r\u003dcjgillot\n\ncompiler: Don\u0027t mark `SingleUseConsts` MIR pass as \"required for soundness\"\n\nI don\u0027t think this MIR pass is required for soundness. The reasons are:\n* Something like it was not enabled by default before PR rust-lang/rust#107404 which was the precursor to `SingleUseConsts` (see rust-lang/rust#125910 for the switch).\n* By following the advice from https://github.com/rust-lang/rust/pull/128657#discussion_r1705114015 we can conclude it is not required for soundness since it has only ever run on MIR opt level \u003e 0.\n* Its [`MirPass::can_be_overridden()`](https://github.com/rust-lang/rust/blob/0ee7d96253f92b15115c94a530db8b79cb341b15/compiler/rustc_mir_transform/src/pass_manager.rs#L98-L102) is unchanged and thus returns `true`, indicating that it is not a required MIR pass.\n* PR CI pass in rust-lang/rust#151426 which stops enabling it by default in non-optimized builds.\n\nAs shown in the updated test `tests/mir-opt/optimize_none.rs`, `#[optimize(none)]` functions become even less optimized, as expected and desired.\n\nUnblocks https://github.com/rust-lang/rust/pull/151426.\n",
  "tree_diff": []
}
