Skip to content

Document prohibition on inner attribute macros - #2311

Merged
traviscross merged 1 commit into
rust-lang:masterfrom
ehuss:attr-macro-inner
Aug 4, 2026
Merged

Document prohibition on inner attribute macros#2311
traviscross merged 1 commit into
rust-lang:masterfrom
ehuss:attr-macro-inner

Conversation

@ehuss

@ehuss ehuss commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Proc macro attributes as inner attributes are currently unstable via the custom_inner_attributes feature gate (rust-lang/rust#54726).

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jul 9, 2026
@rustbot

This comment has been minimized.

@traviscross

Copy link
Copy Markdown
Contributor

Thanks @ehuss.

@traviscross
traviscross enabled auto-merge July 28, 2026 23:19
@traviscross traviscross removed the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jul 28, 2026
Proc macro attributes as inner attributes are currently unstable via the
`custom_inner_attributes` feature gate
(rust-lang/rust#54726).
@ehuss
ehuss force-pushed the attr-macro-inner branch from 9dd0ce3 to 8c63558 Compare August 3, 2026 16:46
@rustbot

rustbot commented Aug 3, 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.

@traviscross
traviscross added this pull request to the merge queue Aug 3, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 3, 2026
@traviscross
traviscross added this pull request to the merge queue Aug 4, 2026
Merged via the queue into rust-lang:master with commit 0b0f993 Aug 4, 2026
6 checks passed
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 11, 2026
Update books

## rust-lang/reference

9 commits in afdc77bab886d4455c11247cdd32391bfab636ae..82da570bafd9efed421bdbae0f8603ede8dd308b
2026-08-08 22:04:17 UTC to 2026-07-28 18:20:15 UTC

- add c-variadic function definitions (rust-lang/reference#2177)
- Update `no_mangle` to use the attribute template (rust-lang/reference#1904)
- enums with fields: clarify that repr(C, int) is quite different from repr(int) (rust-lang/reference#2227)
- aliasing rules also apply inside private fields (rust-lang/reference#2304)
- attributes: do not explain syntax in rules (rust-lang/reference#2306)
- Document prohibition on inner attribute macros (rust-lang/reference#2311)
- Use authentication for linkcheck (rust-lang/reference#2319)
- Stabilize passing 128-bit integers via vector registers with `asm!` on x86 (rust-lang/reference#2313)
- Add a rule for attribute macro outline modules (rust-lang/reference#2310)
@rustbot rustbot added this to the 1.99.0 milestone Aug 11, 2026
rust-timer added a commit to rust-lang/rust that referenced this pull request Aug 11, 2026
Rollup merge of #160866 - rustbot:docs-update, r=traviscross

Update books

## rust-lang/reference

9 commits in afdc77bab886d4455c11247cdd32391bfab636ae..82da570bafd9efed421bdbae0f8603ede8dd308b
2026-08-08 22:04:17 UTC to 2026-07-28 18:20:15 UTC

- add c-variadic function definitions (rust-lang/reference#2177)
- Update `no_mangle` to use the attribute template (rust-lang/reference#1904)
- enums with fields: clarify that repr(C, int) is quite different from repr(int) (rust-lang/reference#2227)
- aliasing rules also apply inside private fields (rust-lang/reference#2304)
- attributes: do not explain syntax in rules (rust-lang/reference#2306)
- Document prohibition on inner attribute macros (rust-lang/reference#2311)
- Use authentication for linkcheck (rust-lang/reference#2319)
- Stabilize passing 128-bit integers via vector registers with `asm!` on x86 (rust-lang/reference#2313)
- Add a rule for attribute macro outline modules (rust-lang/reference#2310)
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