Module rustc_feature::builtin_attrs [−][src]
Expand description
Built-in attributes and cfg flag gating.
Macros
A convenience macro for constructing attribute templates.
E.g., template!(Word, List: "description") means that the attribute
supports forms #[attr] and #[attr(description)].
Structs
A template that the attribute input must match.
Only top-level shape (#[attr] vs #[attr(...)] vs #[attr = ...]) is considered now.
Enums
Constants
Attributes that have a special meaning to rustc or rustdoc.
cfg(...)’s that are feature gated.
Statics
Functions
Find a gated cfg determined by the predicate which is given the cfg’s name.