GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update `used` to use the attribute template by ehuss · Pull Request #1905 · rust-lang/reference

Conversation

@ehuss

@ehuss ehuss commented Jun 30, 2025

Copy link
Copy Markdown
Contributor

New rules:

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jun 30, 2025
@ehuss
ehuss force-pushed the used branch from 8f55815 to 83d0f84 Compare September 22, 2025 20:33
@traviscross
traviscross force-pushed the used branch from 83d0f84 to bd3dc9b Compare May 6, 2026 05:09
@rustbot

This comment has been minimized.

Sign in to view
ehuss and others added 6 commits May 6, 2026 05:10
@ehuss @traviscross
Unwrap used
6370f3e
@ehuss @traviscross
Slightly reword the used intro
7b537f5
@ehuss @traviscross
Move used example into an example block
4ae0ea7
@ehuss @traviscross
Add attribute template rules for used
97c7d7d
@ehuss @traviscross
Minor update of used
64b1403
More closely align with the template, and some minor word tweaks.
@traviscross
Revise used attribute text
f737c4d
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.
@traviscross
traviscross force-pushed the used branch from bd3dc9b to f737c4d Compare May 6, 2026 05:10
@rustbot

rustbot commented May 6, 2026

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

traviscross
traviscross approved these changes May 6, 2026
View reviewed changes
@traviscross
traviscross enabled auto-merge May 6, 2026 05:11
@traviscross
traviscross added this pull request to the merge queue May 6, 2026
@traviscross

traviscross commented May 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Thanks @ehuss.

cc rust-lang/rust#155193

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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

Uh oh!

There was an error while loading. Please reload this page.

@rustbot rustbot mentioned this pull request May 6, 2026
Update export_name to use the attribute template #1902
Open
@rustbot rustbot mentioned this pull request May 18, 2026
Update books rust-lang/rust#156723
Merged
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request May 18, 2026
@JonathanBrouwer
Rollup merge of rust-lang#156723 - rustbot:docs-update, r=ehuss
0cb7361
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
@rust-timer
Unrolled build for #156723
f8cef1e
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)
@ehuss ehuss added this to the 1.97.0 milestone Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@traviscross traviscross traviscross approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

1.97.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@ehuss @rustbot @traviscross
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.