)]}'
{
  "commit": "05dce482d3a047260b99419ad10bbdeedd0b87eb",
  "tree": "15af125548365c9d9c6ccaf8d6a6bcbab24b4c17",
  "parents": [
    "f63ab49598d8936f2c4912a099bb10f3e5e6a56e",
    "46bb414d69749ad7afe3ea8e0e4fd09ae7fe3d6b"
  ],
  "author": {
    "name": "Stuart Cook",
    "email": "Zalathar@users.noreply.github.com",
    "time": "Sun Jan 04 21:37:04 2026 +1100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Jan 04 21:37:04 2026 +1100"
  },
  "message": "Rollup merge of #150650 - enthropy7:main, r\u003dBoxyUwU\n\nForbid generic parameters in types of #[type_const] items\n\nfixes rust-lang/rust#150614\n\nwe enforce the same restriction on `#[type_const]` const items that already exists for const generic parameters - when `generic_const_parameter_types` feature gate is not enabled, the type of a `#[type_const]` item cannot reference generic parameters.  implementation follows the same pattern used for const generic parameters. we check if the item has the `#[type_const]` attribute and if the feature gate is disabled, then we apply `RibKind::ConstParamTy` restrictions when visiting the type, which prevents the use of generic parameters.\n\ncheck is added in three places:\n- Free const items (`ItemKind::Const`)\n- Trait associated consts (`AssocItemKind::Const` in traits)\n- Impl associated consts (`AssocItemKind::Const` in impls)\n\nadded tests for new feature, hope i get this task right :\u003e\n\nr? `@BoxyUwU`\n",
  "tree_diff": []
}
