Skip to content

Properly feature gate doc(rust_logo) - #164582

Open
mejrs wants to merge 1 commit into
rust-lang:mainfrom
mejrs:rust_logo_gate
Open

mejrs wants to merge 1 commit into
rust-lang:mainfrom
mejrs:rust_logo_gate

Conversation

@mejrs

@mejrs mejrs commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

View all comments

fixes #161984

It's a breaking change, technically. I didn't find it in the crater rollup, but will rerun just in case.

@rustbot

rustbot commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann, @JonathanBrouwer

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 19, 2026
@rustbot

rustbot commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

r? @fee1-dead

rustbot has assigned @fee1-dead.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 77 candidates
  • Random selection from 17 candidates

@mejrs

mejrs commented Oct 19, 2026

Copy link
Copy Markdown
Member Author

@craterbot

Copy link
Copy Markdown
Collaborator

🚨 Error: missing start toolchain

🆘 If you have any trouble with Crater please ask in t-infra on Zulip
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@mejrs

mejrs commented Oct 19, 2026

Copy link
Copy Markdown
Member Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Oct 19, 2026
Properly feature gate doc(rust_logo)

@JonathanBrouwer JonathanBrouwer left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me with lang approval

View changes since this review

@JonathanBrouwer JonathanBrouwer added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 19, 2026
@mejrs

mejrs commented Oct 19, 2026

Copy link
Copy Markdown
Member Author

Is the doc attribute t-lang or t-rustdoc territory?

@JonathanBrouwer

Copy link
Copy Markdown
Member

Oh right, yeah I think T-rustdoc should be fine? Not sure tbh probably better to ask them

@rust-log-analyzer

This comment has been minimized.

@rust-bors

rust-bors Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 04e9298 (04e9298c771dcc8a88d17c0257382c1e4ae3da97)
Base parent: b26b4e7 (b26b4e75de6aac63fc6beeecebad5b3a5f84d2a4)

@mejrs

mejrs commented Oct 19, 2026

Copy link
Copy Markdown
Member Author

@craterbot

Copy link
Copy Markdown
Collaborator

👌 Experiment pr-164582 created and queued.
🤖 Automatically detected try build 04e9298
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

Comment thread tests/ui/feature-gates/doc-rust-logo.rs Outdated
@craterbot

Copy link
Copy Markdown
Collaborator

🚧 Experiment pr-164582 is now running

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot

Copy link
Copy Markdown
Collaborator

🎉 Experiment pr-164582 is completed!
📊 0 regressed and 0 fixed (28882 total)
📊 1098 spurious results on the retry-regressed-list.txt, consider a retry1 if this is a significant amount.
📰 Open the summary report.

⚠️ If you notice any spurious failure please add them to the denylist!
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

Footnotes

  1. re-run the experiment with crates=https://crater-reports.s3.amazonaws.com/pr-164582/retry-regressed-list.txt ↩

@craterbot craterbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-crater Status: Waiting on a crater run to be completed. labels Oct 21, 2026
@JonathanBrouwer JonathanBrouwer added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. S-waiting-on-t-rustdoc Status: Awaiting decision from T-rustdoc labels Oct 21, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member

@rust-lang/rustdoc What is the proper procedure to nominate a PR to you? Is applying S-waiting-on-t-rustdoc sufficient?

@GuillaumeGomez

Copy link
Copy Markdown
Member

Generally, pinging someone from the team so someone puts it in the agenda. Might be worth mentioning it in our guide.

@GuillaumeGomez GuillaumeGomez removed the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Oct 21, 2026
@GuillaumeGomez

Copy link
Copy Markdown
Member

Although in this case, I think we can just start an FCP.

@rfcbot fcp merge rustdoc-internals

@rust-rfcbot rust-rfcbot added the T-rustdoc-internals Relevant to the rustdoc internals team, which will review and decide on the PR/issue. label Oct 21, 2026
@rust-rfcbot

rust-rfcbot commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

@GuillaumeGomez has proposed to merge this. The next step is review by the rest of the tagged team members:

No concerns currently listed.

Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

See this document for info about what commands tagged team members can give me.

@rust-rfcbot rust-rfcbot added proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off. disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. labels Oct 21, 2026
@lolbinarycat

Copy link
Copy Markdown
Contributor

I think this is good, tho my instinct is that small breakages like this that don't break anything in practices should maybe still get a relnotes entry?

@JonathanBrouwer JonathanBrouwer removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 24, 2026
@rust-bors

This comment has been minimized.

@rustbot

rustbot commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@rust-log-analyzer

This comment has been minimized.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off. S-waiting-on-t-rustdoc Status: Awaiting decision from T-rustdoc T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-internals Relevant to the rustdoc internals team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc(rust_logo) is improperly feature gated

10 participants