Expand description
Built-in attributes and cfg flag gating.
Macrosยง
- experimental ๐
- gated ๐
- rustc_
attr ๐ - ungated ๐
Structsยง
- Attribute
Template - A template that the attribute input must match.
Only top-level shape (
#[attr]vs#[attr(...)]vs#[attr = ...]) is considered now. - Builtin
Attribute
Enumsยง
Constantsยง
- GATED_
CFGS ๐ cfg(...)โs that are feature gated.
Staticsยง
- BUILTIN_
ATTRIBUTES - Attributes that have a special meaning to rustc or rustdoc.
- BUILTIN_
ATTRIBUTE_ MAP
Functionsยง
- find_
gated_ cfg - Find a gated cfg determined by the
predicate which is given the cfgโs name. - is_
builtin_ attr_ name - is_
stable_ diagnostic_ attribute