Module rustc_attr::builtin [−][src]
Expand description
Parsing and validation of builtin attributes
Structs
Represents the #[rustc_const_unstable] and #[rustc_const_stable] attributes.
Represents the following attributes:
Enums
The available stability levels.
Functions
Tests if a cfg-pattern matches the cfg set
Evaluate a cfg-like condition (with any and all), using eval to
evaluate individual items.
Finds the deprecation attribute. None if none exists.
Parse #[repr(…)] forms.
Collects stability info from all stability attributes in attrs.
Returns None if no stability attributes are found.