-
Couldn't load subscription status.
- Fork 13.9k
Closed
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Currently, the (internal) TypeFoldable trait must be implemented via the fairly verbose EnumTypeFoldableImpl! and BraceStructTypeFoldableImpl! macros. Adding a derive(TypeFoldable) proc-macro to librustc_macros would allow us to delete a large amount of code, and would drastically simplify adding new TypeFoldable implementations.
Metadata
Metadata
Assignees
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.