rust-lang / rust-lang/rust

Filter proc-macro helper attributes at AST lowering

Open
#140,587 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-attributes C-cleanup T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Currently these are kept around in hir, and that's entirely unnecessary. Part of #131229

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the AST lowering path mentioned in the issue and compare how proc-macro helper attributes are represented before and after lowering. Confirm the intended behavior against the related work in #131229; done means those helper attributes are filtered before they reach HIR without breaking existing compiler tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.