-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Closed
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.
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 Typeandimpl Trait for Type) - struct fields
typealiases.- foreign fns
- anything else that can take attributes in the ast
(Part of #6875.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.
Type
Fields
Give feedbackNo fields configured for issues without a type.