[ { "url": "https://api.github.com/repos/rust-lang/rust/issues/148561", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148561/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148561/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148561/events", "html_url": "https://github.com/rust-lang/rust/pull/148561", "id": 3593732264, "node_id": "PR_kwDOAAsO6M6xytUl", "number": 148561, "title": "Fix ICE from async closure variance", "user": { "login": "chenyukang", "id": 230646, "node_id": "MDQ6VXNlcjIzMDY0Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/230646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chenyukang", "html_url": "https://github.com/chenyukang", "followers_url": "https://api.github.com/users/chenyukang/followers", "following_url": "https://api.github.com/users/chenyukang/following{/other_user}", "gists_url": "https://api.github.com/users/chenyukang/gists{/gist_id}", "starred_url": "https://api.github.com/users/chenyukang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chenyukang/subscriptions", "organizations_url": "https://api.github.com/users/chenyukang/orgs", "repos_url": "https://api.github.com/users/chenyukang/repos", "events_url": "https://api.github.com/users/chenyukang/events{/privacy}", "received_events_url": "https://api.github.com/users/chenyukang/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 211668100, "node_id": "MDU6TGFiZWwyMTE2NjgxMDA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-compiler", "name": "T-compiler", "color": "bfd4f2", "default": false, "description": "Relevant to the compiler team, which will review and decide on the PR/issue." }, { "id": 583426710, "node_id": "MDU6TGFiZWw1ODM0MjY3MTA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-review", "name": "S-waiting-on-review", "color": "d3dddd", "default": false, "description": "Status: Awaiting review from the assignee but also interested parties." } ], "state": "open", "locked": false, "assignee": { "login": "fee1-dead", "id": 43851243, "node_id": "MDQ6VXNlcjQzODUxMjQz", "avatar_url": "https://avatars.githubusercontent.com/u/43851243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fee1-dead", "html_url": "https://github.com/fee1-dead", "followers_url": "https://api.github.com/users/fee1-dead/followers", "following_url": "https://api.github.com/users/fee1-dead/following{/other_user}", "gists_url": "https://api.github.com/users/fee1-dead/gists{/gist_id}", "starred_url": "https://api.github.com/users/fee1-dead/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fee1-dead/subscriptions", "organizations_url": "https://api.github.com/users/fee1-dead/orgs", "repos_url": "https://api.github.com/users/fee1-dead/repos", "events_url": "https://api.github.com/users/fee1-dead/events{/privacy}", "received_events_url": "https://api.github.com/users/fee1-dead/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "assignees": [ { "login": "fee1-dead", "id": 43851243, "node_id": "MDQ6VXNlcjQzODUxMjQz", "avatar_url": "https://avatars.githubusercontent.com/u/43851243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fee1-dead", "html_url": "https://github.com/fee1-dead", "followers_url": "https://api.github.com/users/fee1-dead/followers", "following_url": "https://api.github.com/users/fee1-dead/following{/other_user}", "gists_url": "https://api.github.com/users/fee1-dead/gists{/gist_id}", "starred_url": "https://api.github.com/users/fee1-dead/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fee1-dead/subscriptions", "organizations_url": "https://api.github.com/users/fee1-dead/orgs", "repos_url": "https://api.github.com/users/fee1-dead/repos", "events_url": "https://api.github.com/users/fee1-dead/events{/privacy}", "received_events_url": "https://api.github.com/users/fee1-dead/received_events", "type": "User", "user_view_type": "public", "site_admin": false } ], "milestone": null, "comments": 1, "created_at": "2025-11-06T03:20:29Z", "updated_at": "2025-11-06T03:20:34Z", "closed_at": null, "author_association": "MEMBER", "type": null, "active_lock_reason": null, "draft": false, "pull_request": { "url": "https://api.github.com/repos/rust-lang/rust/pulls/148561", "html_url": "https://github.com/rust-lang/rust/pull/148561", "diff_url": "https://github.com/rust-lang/rust/pull/148561.diff", "patch_url": "https://github.com/rust-lang/rust/pull/148561.patch", "merged_at": null }, "body": "Fixes rust-lang/rust#148488\r\n\r\nThe fix is also a change from rust-lang/rust#148556", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148561/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148561/timeline", "performed_via_github_app": null, "state_reason": null }, { "url": "https://api.github.com/repos/rust-lang/rust/issues/148560", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148560/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148560/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148560/events", "html_url": "https://github.com/rust-lang/rust/pull/148560", "id": 3593694295, "node_id": "PR_kwDOAAsO6M6xyk5N", "number": 148560, "title": "Rollup of 7 pull requests", "user": { "login": "Zalathar", "id": 20290842, "node_id": "MDQ6VXNlcjIwMjkwODQy", "avatar_url": "https://avatars.githubusercontent.com/u/20290842?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zalathar", "html_url": "https://github.com/Zalathar", "followers_url": "https://api.github.com/users/Zalathar/followers", "following_url": "https://api.github.com/users/Zalathar/following{/other_user}", "gists_url": "https://api.github.com/users/Zalathar/gists{/gist_id}", "starred_url": "https://api.github.com/users/Zalathar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Zalathar/subscriptions", "organizations_url": "https://api.github.com/users/Zalathar/orgs", "repos_url": "https://api.github.com/users/Zalathar/repos", "events_url": "https://api.github.com/users/Zalathar/events{/privacy}", "received_events_url": "https://api.github.com/users/Zalathar/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 108333, "node_id": "MDU6TGFiZWwxMDgzMzM=", "url": "https://api.github.com/repos/rust-lang/rust/labels/A-LLVM", "name": "A-LLVM", "color": "f7e101", "default": false, "description": "Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues." }, { "id": 203738, "node_id": "MDU6TGFiZWwyMDM3Mzg=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-rustdoc", "name": "T-rustdoc", "color": "bfd4f2", "default": false, "description": "Relevant to the rustdoc team, which will review and decide on the PR/issue." }, { "id": 211668100, "node_id": "MDU6TGFiZWwyMTE2NjgxMDA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-compiler", "name": "T-compiler", "color": "bfd4f2", "default": false, "description": "Relevant to the compiler team, which will review and decide on the PR/issue." }, { "id": 583437191, "node_id": "MDU6TGFiZWw1ODM0MzcxOTE=", "url": "https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-bors", "name": "S-waiting-on-bors", "color": "d3dddd", "default": false, "description": "Status: Waiting on bors to run and complete tests. Bors will change the label on completion." }, { "id": 1591757102, "node_id": "MDU6TGFiZWwxNTkxNzU3MTAy", "url": "https://api.github.com/repos/rust-lang/rust/labels/rollup", "name": "rollup", "color": "f1ffa5", "default": false, "description": "A PR which is a rollup" }, { "id": 2011781731, "node_id": "MDU6TGFiZWwyMDExNzgxNzMx", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-libs", "name": "T-libs", "color": "bfd4f2", "default": false, "description": "Relevant to the library team, which will review and decide on the PR/issue." }, { "id": 7058675150, "node_id": "LA_kwDOAAsO6M8AAAABpLrVzg", "url": "https://api.github.com/repos/rust-lang/rust/labels/A-run-make", "name": "A-run-make", "color": "f7e101", "default": false, "description": "Area: port run-make Makefiles to rmake.rs" } ], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 2, "created_at": "2025-11-06T03:07:20Z", "updated_at": "2025-11-06T03:09:40Z", "closed_at": null, "author_association": "MEMBER", "type": null, "active_lock_reason": null, "draft": false, "pull_request": { "url": "https://api.github.com/repos/rust-lang/rust/pulls/148560", "html_url": "https://github.com/rust-lang/rust/pull/148560", "diff_url": "https://github.com/rust-lang/rust/pull/148560.diff", "patch_url": "https://github.com/rust-lang/rust/pull/148560.patch", "merged_at": null }, "body": "Successful merges:\n\n - rust-lang/rust#143037 (Make named asm_labels lint not trigger on hexagon register spans)\n - rust-lang/rust#147043 (Add default sanitizers to TargetOptions)\n - rust-lang/rust#147586 (std-detect: improve detect macro docs)\n - rust-lang/rust#147912 ([rustdoc] Gracefully handle error in case we cannot run the compiler in doctests)\n - rust-lang/rust#148540 (Minor fixes to StdNonZeroNumberProvider for gdb)\n - rust-lang/rust#148541 (Add num_children method to some gdb pretty-printers)\n - rust-lang/rust#148549 (Fix broken qemu-cskyv2 link)\n\nFailed merges:\n\n - rust-lang/rust#147935 (Add LLVM realtime sanitizer)\n\nr? @ghost\n@rustbot modify labels: rollup\n\n[Create a similar rollup](https://bors.rust-lang.org/queue/rust?prs=143037,147043,147586,147912,148540,148541,148549)\n", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148560/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148560/timeline", "performed_via_github_app": null, "state_reason": null }, { "url": "https://api.github.com/repos/rust-lang/rust/issues/148559", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148559/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148559/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148559/events", "html_url": "https://github.com/rust-lang/rust/pull/148559", "id": 3593650245, "node_id": "PR_kwDOAAsO6M6xybLW", "number": 148559, "title": "Add typo suggestion for a misspelt Cargo environment variable", "user": { "login": "chenyukang", "id": 230646, "node_id": "MDQ6VXNlcjIzMDY0Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/230646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chenyukang", "html_url": "https://github.com/chenyukang", "followers_url": "https://api.github.com/users/chenyukang/followers", "following_url": "https://api.github.com/users/chenyukang/following{/other_user}", "gists_url": "https://api.github.com/users/chenyukang/gists{/gist_id}", "starred_url": "https://api.github.com/users/chenyukang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chenyukang/subscriptions", "organizations_url": "https://api.github.com/users/chenyukang/orgs", "repos_url": "https://api.github.com/users/chenyukang/repos", "events_url": "https://api.github.com/users/chenyukang/events{/privacy}", "received_events_url": "https://api.github.com/users/chenyukang/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 211668100, "node_id": "MDU6TGFiZWwyMTE2NjgxMDA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-compiler", "name": "T-compiler", "color": "bfd4f2", "default": false, "description": "Relevant to the compiler team, which will review and decide on the PR/issue." }, { "id": 583426710, "node_id": "MDU6TGFiZWw1ODM0MjY3MTA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-review", "name": "S-waiting-on-review", "color": "d3dddd", "default": false, "description": "Status: Awaiting review from the assignee but also interested parties." } ], "state": "open", "locked": false, "assignee": { "login": "fee1-dead", "id": 43851243, "node_id": "MDQ6VXNlcjQzODUxMjQz", "avatar_url": "https://avatars.githubusercontent.com/u/43851243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fee1-dead", "html_url": "https://github.com/fee1-dead", "followers_url": "https://api.github.com/users/fee1-dead/followers", "following_url": "https://api.github.com/users/fee1-dead/following{/other_user}", "gists_url": "https://api.github.com/users/fee1-dead/gists{/gist_id}", "starred_url": "https://api.github.com/users/fee1-dead/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fee1-dead/subscriptions", "organizations_url": "https://api.github.com/users/fee1-dead/orgs", "repos_url": "https://api.github.com/users/fee1-dead/repos", "events_url": "https://api.github.com/users/fee1-dead/events{/privacy}", "received_events_url": "https://api.github.com/users/fee1-dead/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "assignees": [ { "login": "fee1-dead", "id": 43851243, "node_id": "MDQ6VXNlcjQzODUxMjQz", "avatar_url": "https://avatars.githubusercontent.com/u/43851243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fee1-dead", "html_url": "https://github.com/fee1-dead", "followers_url": "https://api.github.com/users/fee1-dead/followers", "following_url": "https://api.github.com/users/fee1-dead/following{/other_user}", "gists_url": "https://api.github.com/users/fee1-dead/gists{/gist_id}", "starred_url": "https://api.github.com/users/fee1-dead/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fee1-dead/subscriptions", "organizations_url": "https://api.github.com/users/fee1-dead/orgs", "repos_url": "https://api.github.com/users/fee1-dead/repos", "events_url": "https://api.github.com/users/fee1-dead/events{/privacy}", "received_events_url": "https://api.github.com/users/fee1-dead/received_events", "type": "User", "user_view_type": "public", "site_admin": false } ], "milestone": null, "comments": 2, "created_at": "2025-11-06T02:49:47Z", "updated_at": "2025-11-06T03:48:03Z", "closed_at": null, "author_association": "MEMBER", "type": null, "active_lock_reason": null, "draft": false, "pull_request": { "url": "https://api.github.com/repos/rust-lang/rust/pulls/148559", "html_url": "https://github.com/rust-lang/rust/pull/148559", "diff_url": "https://github.com/rust-lang/rust/pull/148559.diff", "patch_url": "https://github.com/rust-lang/rust/pull/148559.patch", "merged_at": null }, "body": "Fixes rust-lang/rust#148439", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148559/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148559/timeline", "performed_via_github_app": null, "state_reason": null }, { "url": "https://api.github.com/repos/rust-lang/rust/issues/148558", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148558/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148558/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148558/events", "html_url": "https://github.com/rust-lang/rust/issues/148558", "id": 3593613080, "node_id": "I_kwDOAAsO6M7WMi8Y", "number": 148558, "title": "E0412 and E0425 are redundant", "user": { "login": "theemathas", "id": 6120103, "node_id": "MDQ6VXNlcjYxMjAxMDM=", "avatar_url": "https://avatars.githubusercontent.com/u/6120103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/theemathas", "html_url": "https://github.com/theemathas", "followers_url": "https://api.github.com/users/theemathas/followers", "following_url": "https://api.github.com/users/theemathas/following{/other_user}", "gists_url": "https://api.github.com/users/theemathas/gists{/gist_id}", "starred_url": "https://api.github.com/users/theemathas/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/theemathas/subscriptions", "organizations_url": "https://api.github.com/users/theemathas/orgs", "repos_url": "https://api.github.com/users/theemathas/repos", "events_url": "https://api.github.com/users/theemathas/events{/privacy}", "received_events_url": "https://api.github.com/users/theemathas/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 36996, "node_id": "MDU6TGFiZWwzNjk5Ng==", "url": "https://api.github.com/repos/rust-lang/rust/labels/E-easy", "name": "E-easy", "color": "02e10c", "default": false, "description": "Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue." }, { "id": 37234, "node_id": "MDU6TGFiZWwzNzIzNA==", "url": "https://api.github.com/repos/rust-lang/rust/labels/C-cleanup", "name": "C-cleanup", "color": "f5f1fd", "default": false, "description": "Category: PRs that clean code up or issues documenting cleanup." }, { "id": 235791, "node_id": "MDU6TGFiZWwyMzU3OTE=", "url": "https://api.github.com/repos/rust-lang/rust/labels/A-diagnostics", "name": "A-diagnostics", "color": "f7e101", "default": false, "description": "Area: Messages for errors, warnings, and lints" }, { "id": 67766349, "node_id": "MDU6TGFiZWw2Nzc2NjM0OQ==", "url": "https://api.github.com/repos/rust-lang/rust/labels/E-mentor", "name": "E-mentor", "color": "02E10C", "default": false, "description": "Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion." }, { "id": 211668100, "node_id": "MDU6TGFiZWwyMTE2NjgxMDA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-compiler", "name": "T-compiler", "color": "bfd4f2", "default": false, "description": "Relevant to the compiler team, which will review and decide on the PR/issue." }, { "id": 650731663, "node_id": "MDU6TGFiZWw2NTA3MzE2NjM=", "url": "https://api.github.com/repos/rust-lang/rust/labels/C-bug", "name": "C-bug", "color": "f5f1fd", "default": false, "description": "Category: This is a bug." } ], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2025-11-06T02:36:29Z", "updated_at": "2025-11-06T03:01:38Z", "closed_at": null, "author_association": "CONTRIBUTOR", "type": null, "active_lock_reason": null, "sub_issues_summary": { "total": 0, "completed": 0, "percent_completed": 0 }, "issue_dependencies_summary": { "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }, "body": "The error codes [E0412](https://doc.rust-lang.org/1.90.0/error_codes/E0412.html) and [E0425](https://doc.rust-lang.org/1.90.0/error_codes/E0425.html) are redundant. They basically mean the same thing to users. They should probably be merged into one error code.\n\n### Meta\n\nIssue observed in rust 1.90.0.", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148558/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148558/timeline", "performed_via_github_app": null, "state_reason": null }, { "url": "https://api.github.com/repos/rust-lang/rust/issues/148557", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148557/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148557/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148557/events", "html_url": "https://github.com/rust-lang/rust/issues/148557", "id": 3593588543, "node_id": "I_kwDOAAsO6M7WMc8_", "number": 148557, "title": "`--open` does not work with error_index_generator", "user": { "login": "ehuss", "id": 43198, "node_id": "MDQ6VXNlcjQzMTk4", "avatar_url": "https://avatars.githubusercontent.com/u/43198?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ehuss", "html_url": "https://github.com/ehuss", "followers_url": "https://api.github.com/users/ehuss/followers", "following_url": "https://api.github.com/users/ehuss/following{/other_user}", "gists_url": "https://api.github.com/users/ehuss/gists{/gist_id}", "starred_url": "https://api.github.com/users/ehuss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ehuss/subscriptions", "organizations_url": "https://api.github.com/users/ehuss/orgs", "repos_url": "https://api.github.com/users/ehuss/repos", "events_url": "https://api.github.com/users/ehuss/events{/privacy}", "received_events_url": "https://api.github.com/users/ehuss/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 325438536, "node_id": "MDU6TGFiZWwzMjU0Mzg1MzY=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-bootstrap", "name": "T-bootstrap", "color": "bfd4f2", "default": false, "description": "Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)" }, { "id": 650731663, "node_id": "MDU6TGFiZWw2NTA3MzE2NjM=", "url": "https://api.github.com/repos/rust-lang/rust/labels/C-bug", "name": "C-bug", "color": "f5f1fd", "default": false, "description": "Category: This is a bug." }, { "id": 5705422536, "node_id": "LA_kwDOAAsO6M8AAAABVBHWyA", "url": "https://api.github.com/repos/rust-lang/rust/labels/needs-triage", "name": "needs-triage", "color": "f28907", "default": false, "description": "This issue may need triage. Remove it if it has been sufficiently triaged." } ], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2025-11-06T02:26:15Z", "updated_at": "2025-11-06T02:26:19Z", "closed_at": null, "author_association": "CONTRIBUTOR", "type": null, "active_lock_reason": null, "sub_issues_summary": { "total": 0, "completed": 0, "percent_completed": 0 }, "issue_dependencies_summary": { "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }, "body": "### Summary\n\nThe `--open` flag does nothing in:\n\n```sh\n./x doc src/tools/error_index_generator --open\n```\n\n### Expected behaviour\n\nOpens a web browser.\n\n### Actual behaviour\n\nDoesn't open a web browser.\n\n### Bootstrap configuration (bootstrap.toml)\n\nDefault\n\n### Operating system\n\nAny\n\n### HEAD\n\n401ae55427522984e4a89c37cff6562a4ddcf6b7\n", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148557/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148557/timeline", "performed_via_github_app": null, "state_reason": null }, { "url": "https://api.github.com/repos/rust-lang/rust/issues/148556", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148556/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148556/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148556/events", "html_url": "https://github.com/rust-lang/rust/pull/148556", "id": 3593561838, "node_id": "PR_kwDOAAsO6M6xyH6F", "number": 148556, "title": "Fix suggestion for returning async closures", "user": { "login": "chenyukang", "id": 230646, "node_id": "MDQ6VXNlcjIzMDY0Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/230646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chenyukang", "html_url": "https://github.com/chenyukang", "followers_url": "https://api.github.com/users/chenyukang/followers", "following_url": "https://api.github.com/users/chenyukang/following{/other_user}", "gists_url": "https://api.github.com/users/chenyukang/gists{/gist_id}", "starred_url": "https://api.github.com/users/chenyukang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chenyukang/subscriptions", "organizations_url": "https://api.github.com/users/chenyukang/orgs", "repos_url": "https://api.github.com/users/chenyukang/repos", "events_url": "https://api.github.com/users/chenyukang/events{/privacy}", "received_events_url": "https://api.github.com/users/chenyukang/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 211668100, "node_id": "MDU6TGFiZWwyMTE2NjgxMDA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-compiler", "name": "T-compiler", "color": "bfd4f2", "default": false, "description": "Relevant to the compiler team, which will review and decide on the PR/issue." }, { "id": 583426710, "node_id": "MDU6TGFiZWw1ODM0MjY3MTA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-review", "name": "S-waiting-on-review", "color": "d3dddd", "default": false, "description": "Status: Awaiting review from the assignee but also interested parties." } ], "state": "open", "locked": false, "assignee": { "login": "JonathanBrouwer", "id": 7071132, "node_id": "MDQ6VXNlcjcwNzExMzI=", "avatar_url": "https://avatars.githubusercontent.com/u/7071132?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JonathanBrouwer", "html_url": "https://github.com/JonathanBrouwer", "followers_url": "https://api.github.com/users/JonathanBrouwer/followers", "following_url": "https://api.github.com/users/JonathanBrouwer/following{/other_user}", "gists_url": "https://api.github.com/users/JonathanBrouwer/gists{/gist_id}", "starred_url": "https://api.github.com/users/JonathanBrouwer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JonathanBrouwer/subscriptions", "organizations_url": "https://api.github.com/users/JonathanBrouwer/orgs", "repos_url": "https://api.github.com/users/JonathanBrouwer/repos", "events_url": "https://api.github.com/users/JonathanBrouwer/events{/privacy}", "received_events_url": "https://api.github.com/users/JonathanBrouwer/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "assignees": [ { "login": "JonathanBrouwer", "id": 7071132, "node_id": "MDQ6VXNlcjcwNzExMzI=", "avatar_url": "https://avatars.githubusercontent.com/u/7071132?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JonathanBrouwer", "html_url": "https://github.com/JonathanBrouwer", "followers_url": "https://api.github.com/users/JonathanBrouwer/followers", "following_url": "https://api.github.com/users/JonathanBrouwer/following{/other_user}", "gists_url": "https://api.github.com/users/JonathanBrouwer/gists{/gist_id}", "starred_url": "https://api.github.com/users/JonathanBrouwer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JonathanBrouwer/subscriptions", "organizations_url": "https://api.github.com/users/JonathanBrouwer/orgs", "repos_url": "https://api.github.com/users/JonathanBrouwer/repos", "events_url": "https://api.github.com/users/JonathanBrouwer/events{/privacy}", "received_events_url": "https://api.github.com/users/JonathanBrouwer/received_events", "type": "User", "user_view_type": "public", "site_admin": false } ], "milestone": null, "comments": 1, "created_at": "2025-11-06T02:15:10Z", "updated_at": "2025-11-06T02:15:15Z", "closed_at": null, "author_association": "MEMBER", "type": null, "active_lock_reason": null, "draft": false, "pull_request": { "url": "https://api.github.com/repos/rust-lang/rust/pulls/148556", "html_url": "https://github.com/rust-lang/rust/pull/148556", "diff_url": "https://github.com/rust-lang/rust/pull/148556.diff", "patch_url": "https://github.com/rust-lang/rust/pull/148556.patch", "merged_at": null }, "body": "Fixes rust-lang/rust#148493\r\n", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148556/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148556/timeline", "performed_via_github_app": null, "state_reason": null }, { "url": "https://api.github.com/repos/rust-lang/rust/issues/148555", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148555/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148555/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148555/events", "html_url": "https://github.com/rust-lang/rust/pull/148555", "id": 3593554084, "node_id": "PR_kwDOAAsO6M6xyGMv", "number": 148555, "title": "Fix rust-by-example spanish translation", "user": { "login": "ehuss", "id": 43198, "node_id": "MDQ6VXNlcjQzMTk4", "avatar_url": "https://avatars.githubusercontent.com/u/43198?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ehuss", "html_url": "https://github.com/ehuss", "followers_url": "https://api.github.com/users/ehuss/followers", "following_url": "https://api.github.com/users/ehuss/following{/other_user}", "gists_url": "https://api.github.com/users/ehuss/gists{/gist_id}", "starred_url": "https://api.github.com/users/ehuss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ehuss/subscriptions", "organizations_url": "https://api.github.com/users/ehuss/orgs", "repos_url": "https://api.github.com/users/ehuss/repos", "events_url": "https://api.github.com/users/ehuss/events{/privacy}", "received_events_url": "https://api.github.com/users/ehuss/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 325438536, "node_id": "MDU6TGFiZWwzMjU0Mzg1MzY=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-bootstrap", "name": "T-bootstrap", "color": "bfd4f2", "default": false, "description": "Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)" }, { "id": 583426710, "node_id": "MDU6TGFiZWw1ODM0MjY3MTA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-review", "name": "S-waiting-on-review", "color": "d3dddd", "default": false, "description": "Status: Awaiting review from the assignee but also interested parties." } ], "state": "open", "locked": false, "assignee": { "login": "Kobzol", "id": 4539057, "node_id": "MDQ6VXNlcjQ1MzkwNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4539057?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kobzol", "html_url": "https://github.com/Kobzol", "followers_url": "https://api.github.com/users/Kobzol/followers", "following_url": "https://api.github.com/users/Kobzol/following{/other_user}", "gists_url": "https://api.github.com/users/Kobzol/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kobzol/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kobzol/subscriptions", "organizations_url": "https://api.github.com/users/Kobzol/orgs", "repos_url": "https://api.github.com/users/Kobzol/repos", "events_url": "https://api.github.com/users/Kobzol/events{/privacy}", "received_events_url": "https://api.github.com/users/Kobzol/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "assignees": [ { "login": "Kobzol", "id": 4539057, "node_id": "MDQ6VXNlcjQ1MzkwNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4539057?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kobzol", "html_url": "https://github.com/Kobzol", "followers_url": "https://api.github.com/users/Kobzol/followers", "following_url": "https://api.github.com/users/Kobzol/following{/other_user}", "gists_url": "https://api.github.com/users/Kobzol/gists{/gist_id}", "starred_url": "https://api.github.com/users/Kobzol/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Kobzol/subscriptions", "organizations_url": "https://api.github.com/users/Kobzol/orgs", "repos_url": "https://api.github.com/users/Kobzol/repos", "events_url": "https://api.github.com/users/Kobzol/events{/privacy}", "received_events_url": "https://api.github.com/users/Kobzol/received_events", "type": "User", "user_view_type": "public", "site_admin": false } ], "milestone": null, "comments": 1, "created_at": "2025-11-06T02:12:05Z", "updated_at": "2025-11-06T02:12:09Z", "closed_at": null, "author_association": "CONTRIBUTOR", "type": null, "active_lock_reason": null, "draft": false, "pull_request": { "url": "https://api.github.com/repos/rust-lang/rust/pulls/148555", "html_url": "https://github.com/rust-lang/rust/pull/148555", "diff_url": "https://github.com/rust-lang/rust/pull/148555.diff", "patch_url": "https://github.com/rust-lang/rust/pull/148555.patch", "merged_at": null }, "body": "A spanish translation was added in https://github.com/rust-lang/rust-by-example/pull/1910, but the upstream integration was never added.\r\n\r\n@marioidival, I assume you intended for this to go live?\r\n", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148555/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148555/timeline", "performed_via_github_app": null, "state_reason": null }, { "url": "https://api.github.com/repos/rust-lang/rust/issues/148554", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148554/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148554/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148554/events", "html_url": "https://github.com/rust-lang/rust/pull/148554", "id": 3593480465, "node_id": "PR_kwDOAAsO6M6xx2YL", "number": 148554, "title": "Add regression test for issue 148542", "user": { "login": "chenyukang", "id": 230646, "node_id": "MDQ6VXNlcjIzMDY0Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/230646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chenyukang", "html_url": "https://github.com/chenyukang", "followers_url": "https://api.github.com/users/chenyukang/followers", "following_url": "https://api.github.com/users/chenyukang/following{/other_user}", "gists_url": "https://api.github.com/users/chenyukang/gists{/gist_id}", "starred_url": "https://api.github.com/users/chenyukang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chenyukang/subscriptions", "organizations_url": "https://api.github.com/users/chenyukang/orgs", "repos_url": "https://api.github.com/users/chenyukang/repos", "events_url": "https://api.github.com/users/chenyukang/events{/privacy}", "received_events_url": "https://api.github.com/users/chenyukang/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 211668100, "node_id": "MDU6TGFiZWwyMTE2NjgxMDA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-compiler", "name": "T-compiler", "color": "bfd4f2", "default": false, "description": "Relevant to the compiler team, which will review and decide on the PR/issue." }, { "id": 583426710, "node_id": "MDU6TGFiZWw1ODM0MjY3MTA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-review", "name": "S-waiting-on-review", "color": "d3dddd", "default": false, "description": "Status: Awaiting review from the assignee but also interested parties." } ], "state": "open", "locked": false, "assignee": { "login": "madsmtm", "id": 10577181, "node_id": "MDQ6VXNlcjEwNTc3MTgx", "avatar_url": "https://avatars.githubusercontent.com/u/10577181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/madsmtm", "html_url": "https://github.com/madsmtm", "followers_url": "https://api.github.com/users/madsmtm/followers", "following_url": "https://api.github.com/users/madsmtm/following{/other_user}", "gists_url": "https://api.github.com/users/madsmtm/gists{/gist_id}", "starred_url": "https://api.github.com/users/madsmtm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/madsmtm/subscriptions", "organizations_url": "https://api.github.com/users/madsmtm/orgs", "repos_url": "https://api.github.com/users/madsmtm/repos", "events_url": "https://api.github.com/users/madsmtm/events{/privacy}", "received_events_url": "https://api.github.com/users/madsmtm/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "assignees": [ { "login": "madsmtm", "id": 10577181, "node_id": "MDQ6VXNlcjEwNTc3MTgx", "avatar_url": "https://avatars.githubusercontent.com/u/10577181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/madsmtm", "html_url": "https://github.com/madsmtm", "followers_url": "https://api.github.com/users/madsmtm/followers", "following_url": "https://api.github.com/users/madsmtm/following{/other_user}", "gists_url": "https://api.github.com/users/madsmtm/gists{/gist_id}", "starred_url": "https://api.github.com/users/madsmtm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/madsmtm/subscriptions", "organizations_url": "https://api.github.com/users/madsmtm/orgs", "repos_url": "https://api.github.com/users/madsmtm/repos", "events_url": "https://api.github.com/users/madsmtm/events{/privacy}", "received_events_url": "https://api.github.com/users/madsmtm/received_events", "type": "User", "user_view_type": "public", "site_admin": false } ], "milestone": null, "comments": 2, "created_at": "2025-11-06T01:40:12Z", "updated_at": "2025-11-06T01:41:47Z", "closed_at": null, "author_association": "MEMBER", "type": null, "active_lock_reason": null, "draft": false, "pull_request": { "url": "https://api.github.com/repos/rust-lang/rust/pulls/148554", "html_url": "https://github.com/rust-lang/rust/pull/148554", "diff_url": "https://github.com/rust-lang/rust/pull/148554.diff", "patch_url": "https://github.com/rust-lang/rust/pull/148554.patch", "merged_at": null }, "body": "Closes rust-lang/rust#148542", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148554/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148554/timeline", "performed_via_github_app": null, "state_reason": null }, { "url": "https://api.github.com/repos/rust-lang/rust/issues/148552", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148552/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148552/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148552/events", "html_url": "https://github.com/rust-lang/rust/pull/148552", "id": 3593404060, "node_id": "PR_kwDOAAsO6M6xxoBv", "number": 148552, "title": "Provide more general note for borrowing outside of closure", "user": { "login": "chenyukang", "id": 230646, "node_id": "MDQ6VXNlcjIzMDY0Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/230646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chenyukang", "html_url": "https://github.com/chenyukang", "followers_url": "https://api.github.com/users/chenyukang/followers", "following_url": "https://api.github.com/users/chenyukang/following{/other_user}", "gists_url": "https://api.github.com/users/chenyukang/gists{/gist_id}", "starred_url": "https://api.github.com/users/chenyukang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chenyukang/subscriptions", "organizations_url": "https://api.github.com/users/chenyukang/orgs", "repos_url": "https://api.github.com/users/chenyukang/repos", "events_url": "https://api.github.com/users/chenyukang/events{/privacy}", "received_events_url": "https://api.github.com/users/chenyukang/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 211668100, "node_id": "MDU6TGFiZWwyMTE2NjgxMDA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-compiler", "name": "T-compiler", "color": "bfd4f2", "default": false, "description": "Relevant to the compiler team, which will review and decide on the PR/issue." }, { "id": 583426710, "node_id": "MDU6TGFiZWw1ODM0MjY3MTA=", "url": "https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-review", "name": "S-waiting-on-review", "color": "d3dddd", "default": false, "description": "Status: Awaiting review from the assignee but also interested parties." } ], "state": "open", "locked": false, "assignee": { "login": "petrochenkov", "id": 5751617, "node_id": "MDQ6VXNlcjU3NTE2MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/5751617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/petrochenkov", "html_url": "https://github.com/petrochenkov", "followers_url": "https://api.github.com/users/petrochenkov/followers", "following_url": "https://api.github.com/users/petrochenkov/following{/other_user}", "gists_url": "https://api.github.com/users/petrochenkov/gists{/gist_id}", "starred_url": "https://api.github.com/users/petrochenkov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/petrochenkov/subscriptions", "organizations_url": "https://api.github.com/users/petrochenkov/orgs", "repos_url": "https://api.github.com/users/petrochenkov/repos", "events_url": "https://api.github.com/users/petrochenkov/events{/privacy}", "received_events_url": "https://api.github.com/users/petrochenkov/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "assignees": [ { "login": "petrochenkov", "id": 5751617, "node_id": "MDQ6VXNlcjU3NTE2MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/5751617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/petrochenkov", "html_url": "https://github.com/petrochenkov", "followers_url": "https://api.github.com/users/petrochenkov/followers", "following_url": "https://api.github.com/users/petrochenkov/following{/other_user}", "gists_url": "https://api.github.com/users/petrochenkov/gists{/gist_id}", "starred_url": "https://api.github.com/users/petrochenkov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/petrochenkov/subscriptions", "organizations_url": "https://api.github.com/users/petrochenkov/orgs", "repos_url": "https://api.github.com/users/petrochenkov/repos", "events_url": "https://api.github.com/users/petrochenkov/events{/privacy}", "received_events_url": "https://api.github.com/users/petrochenkov/received_events", "type": "User", "user_view_type": "public", "site_admin": false } ], "milestone": null, "comments": 1, "created_at": "2025-11-06T00:59:49Z", "updated_at": "2025-11-06T00:59:54Z", "closed_at": null, "author_association": "MEMBER", "type": null, "active_lock_reason": null, "draft": false, "pull_request": { "url": "https://api.github.com/repos/rust-lang/rust/pulls/148552", "html_url": "https://github.com/rust-lang/rust/pull/148552", "diff_url": "https://github.com/rust-lang/rust/pull/148552.diff", "patch_url": "https://github.com/rust-lang/rust/pull/148552.patch", "merged_at": null }, "body": "Fixes rust-lang/rust#148392\r\n", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148552/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148552/timeline", "performed_via_github_app": null, "state_reason": null }, { "url": "https://api.github.com/repos/rust-lang/rust/issues/148551", "repository_url": "https://api.github.com/repos/rust-lang/rust", "labels_url": "https://api.github.com/repos/rust-lang/rust/issues/148551/labels{/name}", "comments_url": "https://api.github.com/repos/rust-lang/rust/issues/148551/comments", "events_url": "https://api.github.com/repos/rust-lang/rust/issues/148551/events", "html_url": "https://github.com/rust-lang/rust/issues/148551", "id": 3593123723, "node_id": "I_kwDOAAsO6M7WKreL", "number": 148551, "title": "Consider treating `docsrs` doc cfg as hidden by default", "user": { "login": "dtolnay", "id": 1940490, "node_id": "MDQ6VXNlcjE5NDA0OTA=", "avatar_url": "https://avatars.githubusercontent.com/u/1940490?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dtolnay", "html_url": "https://github.com/dtolnay", "followers_url": "https://api.github.com/users/dtolnay/followers", "following_url": "https://api.github.com/users/dtolnay/following{/other_user}", "gists_url": "https://api.github.com/users/dtolnay/gists{/gist_id}", "starred_url": "https://api.github.com/users/dtolnay/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dtolnay/subscriptions", "organizations_url": "https://api.github.com/users/dtolnay/orgs", "repos_url": "https://api.github.com/users/dtolnay/repos", "events_url": "https://api.github.com/users/dtolnay/events{/privacy}", "received_events_url": "https://api.github.com/users/dtolnay/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 203738, "node_id": "MDU6TGFiZWwyMDM3Mzg=", "url": "https://api.github.com/repos/rust-lang/rust/labels/T-rustdoc", "name": "T-rustdoc", "color": "bfd4f2", "default": false, "description": "Relevant to the rustdoc team, which will review and decide on the PR/issue." }, { "id": 630652267, "node_id": "MDU6TGFiZWw2MzA2NTIyNjc=", "url": "https://api.github.com/repos/rust-lang/rust/labels/C-feature-request", "name": "C-feature-request", "color": "f5f1fd", "default": false, "description": "Category: A feature request, i.e: not implemented / a PR." }, { "id": 2524183809, "node_id": "MDU6TGFiZWwyNTI0MTgzODA5", "url": "https://api.github.com/repos/rust-lang/rust/labels/F-doc_cfg", "name": "F-doc_cfg", "color": "f9c0cc", "default": false, "description": "`#![feature(doc_cfg)]`" }, { "id": 3609405544, "node_id": "LA_kwDOAAsO6M7XIyho", "url": "https://api.github.com/repos/rust-lang/rust/labels/F-doc_auto_cfg", "name": "F-doc_auto_cfg", "color": "f9c0cc", "default": false, "description": "`#![feature(doc_auto_cfg)]`" }, { "id": 7583700160, "node_id": "LA_kwDOAAsO6M8AAAABxAYUwA", "url": "https://api.github.com/repos/rust-lang/rust/labels/A-cfg", "name": "A-cfg", "color": "f7e101", "default": false, "description": "Area: `cfg` conditional compilation" } ], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2025-11-05T22:53:45Z", "updated_at": "2025-11-05T23:09:11Z", "closed_at": null, "author_association": "MEMBER", "type": null, "active_lock_reason": null, "sub_issues_summary": { "total": 0, "completed": 0, "percent_completed": 0 }, "issue_dependencies_summary": { "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }, "body": "As a followup to #138907, consider making a special case for `cfg(docsrs)` as if every crate were written with `#![doc(auto_cfg(hide(docsrs)))]` at the crate root. It pretty much never makes sense for rustdoc to render _\"Available on **docsrs** only\"_.\n\nAn example usage of `cfg(docsrs)` is in the following idiom that works around `impl Trait<'a>` not having a syntax to express that the opaque type either has no Drop or allows the lifetime to dangle during drop (`unsafe impl<#[may_dangle] 'a> Drop for ConcreteType<'a>`).\n\n```rust\n#![cfg_attr(docsrs, feature(doc_cfg))]\n#![allow(mismatched_lifetime_syntaxes)]\n\nmacro_rules! return_impl_trait {\n (\n $(#[$attr:meta])*\n $vis:vis fn $name:ident $args:tt -> $impl_trait:ty [$concrete:ty] $body:block\n ) => {\n #[cfg(not(docsrs))]\n $(#[$attr])*\n $vis fn $name $args -> $concrete $body\n\n #[cfg(docsrs)]\n $(#[$attr])*\n $vis fn $name $args -> $impl_trait $body\n };\n}\n\npub struct Generics;\npub struct LifetimeParam;\n\nimpl Generics {\n return_impl_trait! {\n pub fn lifetimes(&self) -> impl Iterator [iter::Lifetimes] {\n iter::Lifetimes(&[/*...*/])\n }\n }\n}\n\nmod iter {\n use crate::LifetimeParam;\n\n pub struct Lifetimes<'a>(pub(crate) &'a [LifetimeParam]);\n\n impl<'a> Iterator for Lifetimes<'a> {\n type Item = &'a LifetimeParam;\n fn next(&mut self) -> Option {\n let (first, rest) = self.0.split_first()?;\n self.0 = rest;\n Some(first)\n }\n }\n}\n```\n\n\"Image\"", "closed_by": null, "reactions": { "url": "https://api.github.com/repos/rust-lang/rust/issues/148551/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "timeline_url": "https://api.github.com/repos/rust-lang/rust/issues/148551/timeline", "performed_via_github_app": null, "state_reason": null } ]