Skip to content

Rename some more of our internal #[rustc_*] TEST attributes#155027

Open
fmease wants to merge 6 commits intorust-lang:mainfrom
fmease:more-test-attr-renamings
Open

Rename some more of our internal #[rustc_*] TEST attributes#155027
fmease wants to merge 6 commits intorust-lang:mainfrom
fmease:more-test-attr-renamings

Conversation

@fmease
Copy link
Copy Markdown
Member

@fmease fmease commented Apr 9, 2026

Follow-up to #153300.

r? JonathanBrouwer or jdonszelmann

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 9, 2026

The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes.

cc @BoxyUwU, @tshepang

Some changes occurred in compiler/rustc_passes/src/check_attr.rs

cc @jdonszelmann, @JonathanBrouwer

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann, @JonathanBrouwer

Some changes occurred in compiler/rustc_hir/src/attrs

cc @jdonszelmann, @JonathanBrouwer

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

@rustbot rustbot added the A-attributes Area: Attributes (`#[…]`, `#![…]`) label Apr 9, 2026
@rustbot rustbot added A-rustc-dev-guide Area: rustc-dev-guide S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 9, 2026
@fmease fmease changed the title Rename some more of our internal #[rustc_*] TEST attributes Rename some more of our internal #[rustc_*] TEST attributes Apr 9, 2026
@rust-log-analyzer

This comment has been minimized.

fmease added 6 commits April 9, 2026 18:37
Moreover, dereference `ty_layout.align` for `#[rustc_dump_layout(align)]`
to render `align: Align($N bytes)` instead of `align: AbiAlign { abi: Align($N bytes) }`
which contains the same amount of information but it more concise and legible.
@fmease fmease force-pushed the more-test-attr-renamings branch from 2bef913 to 48fb841 Compare April 9, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-rustc-dev-guide Area: rustc-dev-guide S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants