)]}'
{
  "commit": "7c8ac0f4efbe81fb013bf283f439ec2cefde37ea",
  "tree": "186422d5374b6ba25c57f61f97afd5be3768fbbc",
  "parents": [
    "f7014ef76cab6682ea8c4f1756672914eabbcca1",
    "55bcf3ab632ea7e217f0f6462589cb5d7f24647a"
  ],
  "author": {
    "name": "Guillaume Gomez",
    "email": "guillaume1.gomez@gmail.com",
    "time": "Sat Jun 07 22:22:55 2025 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Jun 07 22:22:55 2025 +0200"
  },
  "message": "Rollup merge of #140560 - Urgau:test_attr-module-level, r\u003dGuillaumeGomez\n\nAllow `#![doc(test(attr(..)))]` everywhere\n\nThis PR adds the ability to specify [`#![doc(test(attr(..)))]`](https://doc.rust-lang.org/nightly/rustdoc/write-documentation/the-doc-attribute.html#testattr) ~~at module level~~ everywhere in addition to allowing it at crate-root.\n\nThis is motivated by a recent PR #140323 (by ````@tgross35)```` where we have to duplicate 2 attributes to every single `f16` and `f128` doctests, by allowing `#![doc(test(attr(..)))]` at module level (and everywhere else) we can omit them entirely and just have (in both module):\n\n```rust\n#![doc(test(attr(feature(cfg_target_has_reliable_f16_f128))))]\n#![doc(test(attr(expect(internal_features))))]\n```\n\nThose new attributes are appended to the one found at crate-root or at a previous module. Those \"global\" attributes are compatible with merged doctests (they already were before).\n\nGiven the small addition that this is, I\u0027m proposing to insta-stabilize it, but I can feature-gate it if preferred.\n\nBest reviewed commit by commit.\n\nr? ````@GuillaumeGomez````\n",
  "tree_diff": []
}
