Skip to main content

Module builtin_attrs

Module builtin_attrs 

Source
Expand description

Built-in attributes and cfg flag gating.

Re-exportsยง

use std::sync::LazyLock; ๐Ÿ”’
use rustc_data_structures::fx::FxHashSet; ๐Ÿ”’
use rustc_span::Symbol; ๐Ÿ”’
use rustc_span::sym; ๐Ÿ”’
use crate::Features; ๐Ÿ”’

Enumsยง

AttributeStability

Constantsยง

GATED_CFGS ๐Ÿ”’
cfg(...)โ€™s that are feature gated.

Staticsยง

BUILTIN_ATTRIBUTES
Attributes that have a special meaning to rustc or rustdoc.
BUILTIN_ATTRIBUTE_SET

Functionsยง

find_gated_cfg
Find a gated cfg matching name.
is_builtin_attr_name

Type Aliasesยง

GateFn ๐Ÿ”’
GatedCfg