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ยง
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