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
> `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.

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

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