Skip to content

Update used to use the attribute template#1905

Merged
traviscross merged 6 commits into
rust-lang:masterfrom
ehuss:used
May 6, 2026
Merged

Update used to use the attribute template#1905
traviscross merged 6 commits into
rust-lang:masterfrom
ehuss:used

Conversation

@ehuss
Copy link
Copy Markdown
Contributor

@ehuss ehuss commented Jun 30, 2025

New rules:

  • abi.used.syntax
  • abi.used.allowed-positions
  • abi.used.duplicates

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jun 30, 2025
@rustbot

This comment has been minimized.

ehuss and others added 6 commits May 6, 2026 05:10
More closely align with the template, and some minor word tweaks.
Let's revise the text and example a bit, mostly to tighten things up.

Notably, the behavior of `rustc` and therefore the output of `nm -C`
has changed since this example was originally written.  We've made the
necessary changes to the example and to the output.
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 6, 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.

@traviscross traviscross enabled auto-merge May 6, 2026 05:11
@traviscross traviscross added this pull request to the merge queue May 6, 2026
@traviscross
Copy link
Copy Markdown
Contributor

traviscross commented May 6, 2026

Thanks @ehuss.

cc rust-lang/rust#155193

@traviscross traviscross removed the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label May 6, 2026
Merged via the queue into rust-lang:master with commit 081e3c9 May 6, 2026
6 checks passed
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request May 18, 2026
Update books

## rust-lang/reference

9 commits in 581920f9109f141b88b860b3e1e8359e3896a150..ad35aca481751a06afeb23820a672b0f3b11a476
2026-05-14 17:00:42 UTC to 2026-05-04 18:27:13 UTC

- ci: declare contents:read on CI workflow (rust-lang/reference#2271)
- Fix the grammar of generic arguments (rust-lang/reference#2247)
- Rename grammar rule `TypeParamBounds` to just `Bounds` (rust-lang/reference#2258)
- Update `used` to use the attribute template (rust-lang/reference#1905)
- Place HRTB binders before fn qualifiers (rust-lang/reference#2260)
- Glossary: add new entry documenting zero-sized types (rust-lang/reference#2203)
- Fix test failure on macOS with link_section (rust-lang/reference#2246)
- Make definition of fragment specifier `path` more precise (rust-lang/reference#2248)
- gitignore linkcheck (rust-lang/reference#2252)
rust-timer added a commit to rust-lang/rust that referenced this pull request May 19, 2026
Rollup merge of #156723 - rustbot:docs-update, r=ehuss

Update books

## rust-lang/reference

9 commits in 581920f9109f141b88b860b3e1e8359e3896a150..ad35aca481751a06afeb23820a672b0f3b11a476
2026-05-14 17:00:42 UTC to 2026-05-04 18:27:13 UTC

- ci: declare contents:read on CI workflow (rust-lang/reference#2271)
- Fix the grammar of generic arguments (rust-lang/reference#2247)
- Rename grammar rule `TypeParamBounds` to just `Bounds` (rust-lang/reference#2258)
- Update `used` to use the attribute template (rust-lang/reference#1905)
- Place HRTB binders before fn qualifiers (rust-lang/reference#2260)
- Glossary: add new entry documenting zero-sized types (rust-lang/reference#2203)
- Fix test failure on macOS with link_section (rust-lang/reference#2246)
- Make definition of fragment specifier `path` more precise (rust-lang/reference#2248)
- gitignore linkcheck (rust-lang/reference#2252)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants