Skip to content

Update link_section to use the attribute template#1903

Open
ehuss wants to merge 7 commits intorust-lang:masterfrom
ehuss:link_section
Open

Update link_section to use the attribute template#1903
ehuss wants to merge 7 commits intorust-lang:masterfrom
ehuss:link_section

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Jun 30, 2025

New rules:

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

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jun 30, 2025
src/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
Contributor

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
Contributor Author

Choose a reason for hiding this comment

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

Thanks, updated.

@rustbot
Copy link
Collaborator

rustbot commented Mar 24, 2026

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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants