-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Labels
compilerGeneral compiler. Should eventually become more specific as the issue is triagedGeneral 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 IRgenEverything to do with type checking, control flow analysis, and everything between parsing and IRgen
Description
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]).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
compilerGeneral compiler. Should eventually become more specific as the issue is triagedGeneral 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 IRgenEverything to do with type checking, control flow analysis, and everything between parsing and IRgen