[−][src]Module rustc_feature::builtin_attrs

Built-in attributes and cfg flag gating.

Structs

AttributeTemplate

A template that the attribute input must match. Only top-level shape (#[attr] vs #[attr(...)] vs #[attr = ...]) is considered now.

Enums

AttributeGate
AttributeType

Constants

BUILTIN_ATTRIBUTES

Attributes that have a special meaning to rustc or rustdoc.

GATED_CFGS

cfg(...)'s that are feature gated.

IMPL_DETAIL
INTERNAL_UNSTABLE

Statics

BUILTIN_ATTRIBUTE_MAP

Functions

deprecated_attributes
find_gated_cfg

Find a gated cfg determined by the predicate which is given the cfg's name.

is_builtin_attr_name

Type Definitions

BuiltinAttribute
GateFn
GatedCfg