Skip to content

Update link_section to use the attribute template - #1903

Open
ehuss wants to merge 6 commits into
rust-lang:masterfrom
ehuss:link_section
Open

Update link_section to use the attribute template#1903
ehuss wants to merge 6 commits into
rust-lang:masterfrom
ehuss:link_section

Conversation

@ehuss

Copy link
Copy Markdown
Contributor

New rules:

  • abi.link_section.allowed-positions
  • abi.link_section.duplicates
  • abi.link_section.null

@rustbotrustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jun 30, 2025
Comment threadsrc/abi.md Outdated
> `rustc` ignores use in other positions but lints against it. This may become an error in the future.

r[abi.link_section.duplicates]
Only the last use of `link_section` on an item has effect.

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.

This was changed by rust-lang/rust#153041

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Thanks, updated.

@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@rustbot

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different master 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.

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

Labels

S-waiting-on-reviewStatus: The marked PR is awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ehuss@rustbot@JonathanBrouwer