reference
reference copied to clipboard
Document which attributes are allowed in places they have no effect
There are various attributes that are allowed in places where they have no effect. For example, you can use #[inline] on fields of a struct. For the ones the lang team has decided they cannot prohibit due to code breakage, we must document that they are allowed.