Skip to content

Simplify attribute_groups #140539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nnethercote
Copy link
Contributor

It's more complicated than it needs to be.

r? @jdonszelmann

Every slice of symbols has a single entry. Let's just use a symbol
directly.
There only needs to be one `Fn` per symbol, not multiple.
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) 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 May 1, 2025
@rustbot
Copy link
Collaborator

rustbot commented May 1, 2025

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann

Some are too long (> 100 chars), some are twoo short, some are missing
full stops, some are missing upper-case letters at the start of
sentences.
@nnethercote nnethercote force-pushed the simplify-attribute_groups branch from 923fc5e to e1ab116 Compare May 1, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) 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