Crate rustc_builtin_macros
source ·Expand description
This crate contains implementations of built-in macros and other code generating facilities injecting code into the crate before it is lowered to HIR.
Modules
assert 🔒
cfg 🔒
The compiler code necessary to support the cfg! extension, which expands to
a literal
true
or false
based on whether the given cfg matches the
current compilation environment.Implementation of the
#[cfg_accessible(path)]
attribute macro.cfg_eval 🔒
Attributes injected into the crate root from command line using
-Z crate-attr
.concat 🔒
derive 🔒
deriving 🔒
The compiler code necessary to implement the
#[derive]
extensions.env 🔒
format 🔒
test 🔒
util 🔒