)]}'
{
  "commit": "d982e2ec06bb44beeb10c389b9d42bdfec33f2e0",
  "tree": "deb26f81c76388560e7c4a9d647fa23b120f2ed8",
  "parents": [
    "032d9c638b45cc339ee6144f954d6c887d8c47f6",
    "e5b636479b89f1fcb3120cbdfa98532f513470ce"
  ],
  "author": {
    "name": "Jonathan Brouwer",
    "email": "jonathantbrouwer@gmail.com",
    "time": "Sun Aug 02 16:19:31 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Aug 02 16:19:31 2026 +0200"
  },
  "message": "Rollup merge of #159881 - zalanlevai:fix-incomplete-visible-parent-map, r\u003dfee1-dead\n\nfix: Do not stop `visible_parent_map` breadth-first search reaching children of `#[doc(hidden)]` modules\n\nThe `visible_parent_map` query misses putting the child items of `#[doc(hidden)]` modules into the queue, resulting in the breadth-first search missing them entirely. This results in inconsistent path printing behavior affecting diagnostics: namely that re-exports nested deeply within `#[doc(hidden)]` modules are not considered as a possible fallback path. See the linked issue (rust-lang/rust#159880) for more details and an example of how this manifests in diagnostics.\n\nThis PR makes sure that `#[doc(hidden)]` parents in the fallback map are still searched as part of the breadth-first search.\n\nFixes rust-lang/rust#159880.\n\nThe two tests for this change are based on the inconsistent diagnostics shown in the issue:\n* `tests/ui/suggestions/suggest-path-through-direct-dep-crate/hidden-reexport-of-transitive-dep-item.rs` captures the current, expected behavior in the already working base case where the hidden module is still recorded in the fallback map;\n* `tests/ui/suggestions/suggest-path-through-direct-dep-crate/hidden-reexport-of-nested-transitive-dep-item.rs` is a regression test for the breadth-first search covering nested children of `#[doc(hidden)]` modules to populate the fallback map by testing whether the diagnostic prefers the hidden but accessible path through the direct dependency crate.\n\nRelated PRs/issues:\n* rust-lang/rust#87349\n* rust-lang/rust#153477\n",
  "tree_diff": []
}
