Skip to content

Attributes missing on ImplSelfOrTrait #7579

@ironcev

Description

@ironcev

Unlike all other Declarations that have an attributes: : transform::Attributes field, ImplSelfOrTrait is missing that field. Attributes are not taken over and not available later on in the typed tree.

We need to add attributes to ImplSelfOrTrait as well and include them in later attributes analysis where needed (e.g., #[allow]).

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerGeneral compiler. Should eventually become more specific as the issue is triagedcompiler: frontendEverything to do with type checking, control flow analysis, and everything between parsing and IRgen

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions