Skip to content

Clean-up attribute completions#22136

Open
ada4a wants to merge 3 commits intorust-lang:masterfrom
ada4a:cleanup-attr-completions
Open

Clean-up attribute completions#22136
ada4a wants to merge 3 commits intorust-lang:masterfrom
ada4a:cleanup-attr-completions

Conversation

@ada4a
Copy link
Copy Markdown
Contributor

@ada4a ada4a commented Apr 22, 2026

This mainly does two things:

  • do all attribute parsing in completions/attribute.rs, for consistency
  • split up lint and feature completion logic, which allows simplifying both

..and a bunch of smaller clean-up here and there

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 22, 2026
@ada4a ada4a changed the title Cleanup attribute completions Clean-up attribute completions Apr 22, 2026
ada4a added 3 commits April 22, 2026 11:29
this is to make next commit's diff clearer
- don't need to pass `lints_completions` -- create in the function
- remove qualifier handling from `feature.rs`, as feature names don't
  have qualifiers
@ada4a ada4a force-pushed the cleanup-attr-completions branch from d5477b6 to 7532e95 Compare April 22, 2026 09:30
Copy link
Copy Markdown
Member

@Shourya742 Shourya742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants