Closed
Description
As of #8921, the compiler checks the attributes on structs, enum variants (not enums themselves) and functions. Definitely required: methods (#8961) and mods (#8962).
Up for discussion:
- traits
- enums
- impls (both
impl Type
andimpl Trait for Type
) - struct fields
type
aliases.- foreign fns
- anything else that can take attributes in the ast
(Part of #6875.)